Package org.jvnet.hk2.osgiadapter
Class OSGiModuleDefinition
java.lang.Object
org.jvnet.hk2.osgiadapter.OSGiModuleDefinition
- All Implemented Interfaces:
ModuleDefinition,Serializable
- Author:
- Sanjeeb.Sahoo@Sun.COM
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOSGiModuleDefinition(Jar jarFile, URI location) OSGiModuleDefinition(File jar) OSGiModuleDefinition(org.osgi.framework.Bundle b) -
Method Summary
-
Constructor Details
-
OSGiModuleDefinition
- Throws:
IOException
-
OSGiModuleDefinition
- Throws:
IOException
-
OSGiModuleDefinition
- Throws:
IOExceptionURISyntaxException
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceModuleDefinition
-
getPublicInterfaces
- Specified by:
getPublicInterfacesin interfaceModuleDefinition
-
getDependencies
- Specified by:
getDependenciesin interfaceModuleDefinition- Returns:
- List of bundles on which this bundle depends on using Require-Bundle
-
getLocations
- Specified by:
getLocationsin interfaceModuleDefinition
-
getVersion
- Specified by:
getVersionin interfaceModuleDefinition
-
getImportPolicyClassName
- Specified by:
getImportPolicyClassNamein interfaceModuleDefinition
-
getLifecyclePolicyClassName
- Specified by:
getLifecyclePolicyClassNamein interfaceModuleDefinition
-
getManifest
- Specified by:
getManifestin interfaceModuleDefinition
-
getMetadata
- Specified by:
getMetadatain interfaceModuleDefinition
-
toString
Assists debugging.
-