org.jvnet.hk2.osgiadapter
Class OSGiModuleDefinition
java.lang.Object
org.jvnet.hk2.osgiadapter.OSGiModuleDefinition
- All Implemented Interfaces:
- ModuleDefinition, java.io.Serializable
public class OSGiModuleDefinition
- extends java.lang.Object
- implements ModuleDefinition, java.io.Serializable
- Author:
- Sanjeeb.Sahoo@Sun.COM
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OSGiModuleDefinition
public OSGiModuleDefinition(java.io.File jar)
throws java.io.IOException
- Throws:
java.io.IOException
OSGiModuleDefinition
public OSGiModuleDefinition(Jar jarFile,
java.net.URI location)
throws java.io.IOException
- Throws:
java.io.IOException
OSGiModuleDefinition
public OSGiModuleDefinition(org.osgi.framework.Bundle b)
throws java.io.IOException,
java.net.URISyntaxException
- Throws:
java.io.IOException
java.net.URISyntaxException
getName
public java.lang.String getName()
- Specified by:
getName in interface ModuleDefinition
getPublicInterfaces
public java.lang.String[] getPublicInterfaces()
- Specified by:
getPublicInterfaces in interface ModuleDefinition
getDependencies
public ModuleDependency[] getDependencies()
- Specified by:
getDependencies in interface ModuleDefinition
- Returns:
- List of bundles on which this bundle depends on using Require-Bundle
getLocations
public java.net.URI[] getLocations()
- Specified by:
getLocations in interface ModuleDefinition
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion in interface ModuleDefinition
getImportPolicyClassName
public java.lang.String getImportPolicyClassName()
- Specified by:
getImportPolicyClassName in interface ModuleDefinition
getLifecyclePolicyClassName
public java.lang.String getLifecyclePolicyClassName()
- Specified by:
getLifecyclePolicyClassName in interface ModuleDefinition
getManifest
public java.util.jar.Manifest getManifest()
- Specified by:
getManifest in interface ModuleDefinition
getMetadata
public ModuleMetadata getMetadata()
- Specified by:
getMetadata in interface ModuleDefinition
toString
public java.lang.String toString()
- Assists debugging.
- Overrides:
toString in class java.lang.Object
Copyright © 2011 Oracle Corporation. All Rights Reserved.