|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.enterprise.module.single.ProxyModuleDefinition
public class ProxyModuleDefinition
Creates a ModuleDefinition backed up by a a single classloader.
The implementation does not cache any data - everything is recalculated for each call. Callers are therefore encouraged to either supply their own caching, or minimize the calls to methods of this class.
Constructor Summary | |
---|---|
ProxyModuleDefinition(ClassLoader classLoader)
|
|
ProxyModuleDefinition(ClassLoader classLoader,
List<ManifestProxy.SeparatorMappings> mappings)
|
Method Summary | |
---|---|
protected Manifest |
generate(ModuleMetadata metadata)
|
ModuleDependency[] |
getDependencies()
Returns the list of this module's dependencies. |
String |
getImportPolicyClassName()
Returns the import policy class name. |
String |
getLifecyclePolicyClassName()
Returns the lifecycle policy class name. |
URI[] |
getLocations()
A Module is implemented by one to many jar files. |
Manifest |
getManifest()
Returns the manifest file for the main module jar file |
ModuleMetadata |
getMetadata()
Gets the metadata that describes various components and services in this module. |
String |
getName()
Returns the module name, usually this is the same name as the jar file name containing the module's implementation. |
String[] |
getPublicInterfaces()
Returns a list of public interfaces for this module. |
String |
getVersion()
Returns the version of this module's implementation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyModuleDefinition(ClassLoader classLoader) throws IOException
IOException
public ProxyModuleDefinition(ClassLoader classLoader, List<ManifestProxy.SeparatorMappings> mappings) throws IOException
IOException
Method Detail |
---|
public String getName()
ModuleDefinition
getName
in interface ModuleDefinition
public String[] getPublicInterfaces()
ModuleDefinition
getPublicInterfaces
in interface ModuleDefinition
public ModuleDependency[] getDependencies()
ModuleDefinition
getDependencies
in interface ModuleDefinition
public URI[] getLocations()
ModuleDefinition
getLocations
in interface ModuleDefinition
public String getVersion()
ModuleDefinition
getVersion
in interface ModuleDefinition
public String getImportPolicyClassName()
ModuleDefinition
getImportPolicyClassName
in interface ModuleDefinition
ImportPolicy
,
or null if no import policy exists.public String getLifecyclePolicyClassName()
ModuleDefinition
getLifecyclePolicyClassName
in interface ModuleDefinition
LifecyclePolicy
,
or null if no import policy exists.public Manifest getManifest()
ModuleDefinition
getManifest
in interface ModuleDefinition
public ModuleMetadata getMetadata()
ModuleDefinition
getMetadata
in interface ModuleDefinition
protected Manifest generate(ModuleMetadata metadata)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |