|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.deploymentadmin.AbstractInfo
org.apache.felix.deploymentadmin.BundleInfoImpl
public class BundleInfoImpl
Implementation of the BundleInfo
interface as defined by the OSGi mobile specification.
Constructor Summary | |
---|---|
BundleInfoImpl(String path,
Attributes attributes)
Creates an instance of this class. |
Method Summary | |
---|---|
String |
getSymbolicName()
Returns the Bundle Symbolic Name of the represented bundle. |
Version |
getVersion()
Returns the version of the represented bundle. |
static boolean |
isBundleResource(Attributes attributes)
Verify if the specified attributes describe a bundle resource. |
boolean |
isCustomizer()
Determine whether this bundle resource is a customizer bundle. |
Methods inherited from class org.apache.felix.deploymentadmin.AbstractInfo |
---|
getHeader, getPath, isMissing, parseBooleanHeader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BundleInfoImpl(String path, Attributes attributes) throws DeploymentException
path
- The path / resource-id of the bundle resource.attributes
- Set of attributes describing the bundle resource.
DeploymentException
- If the specified attributes do not describe a valid bundle.Method Detail |
---|
public String getSymbolicName()
BundleInfo
getSymbolicName
in interface BundleInfo
public Version getVersion()
BundleInfo
getVersion
in interface BundleInfo
public boolean isCustomizer()
public static boolean isBundleResource(Attributes attributes)
attributes
- Attributes describing the resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |