org.apache.aries.application.resolver.obr.impl
Class OBRBundleInfo

java.lang.Object
  extended by org.apache.aries.application.resolver.obr.impl.OBRBundleInfo
All Implemented Interfaces:
BundleInfo

public class OBRBundleInfo
extends Object
implements BundleInfo


Constructor Summary
OBRBundleInfo(String symbolicName, org.osgi.framework.Version version, String location, Set<Content> importPackage, Set<Content> exportPackage, Set<Content> importService, Set<Content> exportService, Set<Content> requireBundle, Map<String,String> attributes, Map<String,String> directives, Map<String,String> headers)
           
 
Method Summary
 boolean equals(Object obj)
           
 Map<String,String> getBundleAttributes()
           
 Map<String,String> getBundleDirectives()
           
 Set<Content> getExportPackage()
           
 Set<Content> getExportService()
           
 Map<String,String> getHeaders()
           
 Set<Content> getImportPackage()
           
 Set<Content> getImportService()
           
 String getLocation()
           
 Attributes getRawAttributes()
           
 Set<Content> getRequireBundle()
           
 String getSymbolicName()
           
 org.osgi.framework.Version getVersion()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OBRBundleInfo

public OBRBundleInfo(String symbolicName,
                     org.osgi.framework.Version version,
                     String location,
                     Set<Content> importPackage,
                     Set<Content> exportPackage,
                     Set<Content> importService,
                     Set<Content> exportService,
                     Set<Content> requireBundle,
                     Map<String,String> attributes,
                     Map<String,String> directives,
                     Map<String,String> headers)
Method Detail

getSymbolicName

public String getSymbolicName()
Specified by:
getSymbolicName in interface BundleInfo

getVersion

public org.osgi.framework.Version getVersion()
Specified by:
getVersion in interface BundleInfo

getLocation

public String getLocation()
Specified by:
getLocation in interface BundleInfo

getImportPackage

public Set<Content> getImportPackage()
Specified by:
getImportPackage in interface BundleInfo

getExportPackage

public Set<Content> getExportPackage()
Specified by:
getExportPackage in interface BundleInfo

getImportService

public Set<Content> getImportService()
Specified by:
getImportService in interface BundleInfo

getExportService

public Set<Content> getExportService()
Specified by:
getExportService in interface BundleInfo

getHeaders

public Map<String,String> getHeaders()
Specified by:
getHeaders in interface BundleInfo

getBundleAttributes

public Map<String,String> getBundleAttributes()
Specified by:
getBundleAttributes in interface BundleInfo

getBundleDirectives

public Map<String,String> getBundleDirectives()
Specified by:
getBundleDirectives in interface BundleInfo

getRequireBundle

public Set<Content> getRequireBundle()
Specified by:
getRequireBundle in interface BundleInfo

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getRawAttributes

public Attributes getRawAttributes()
Specified by:
getRawAttributes in interface BundleInfo


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.