|
||||||||||
| 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(java.lang.ClassLoader classLoader)
|
|
ProxyModuleDefinition(java.lang.ClassLoader classLoader,
java.util.List<ManifestProxy.SeparatorMappings> mappings)
|
|
| Method Summary | |
|---|---|
protected java.util.jar.Manifest |
generate(ModuleMetadata metadata)
|
ModuleDependency[] |
getDependencies()
Returns the list of this module's dependencies. |
java.lang.String |
getImportPolicyClassName()
Returns the import policy class name. |
java.lang.String |
getLifecyclePolicyClassName()
Returns the lifecycle policy class name. |
java.net.URI[] |
getLocations()
A Module is implemented by one to many jar files. |
java.util.jar.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. |
java.lang.String |
getName()
Returns the module name, usually this is the same name as the jar file name containing the module's implementation. |
java.lang.String[] |
getPublicInterfaces()
Returns a list of public interfaces for this module. |
java.lang.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(java.lang.ClassLoader classLoader)
throws java.io.IOException
java.io.IOException
public ProxyModuleDefinition(java.lang.ClassLoader classLoader,
java.util.List<ManifestProxy.SeparatorMappings> mappings)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public java.lang.String getName()
ModuleDefinition
getName in interface ModuleDefinitionpublic java.lang.String[] getPublicInterfaces()
ModuleDefinition
getPublicInterfaces in interface ModuleDefinitionpublic ModuleDependency[] getDependencies()
ModuleDefinition
getDependencies in interface ModuleDefinitionpublic java.net.URI[] getLocations()
ModuleDefinition
getLocations in interface ModuleDefinitionpublic java.lang.String getVersion()
ModuleDefinition
getVersion in interface ModuleDefinitionpublic java.lang.String getImportPolicyClassName()
ModuleDefinition
getImportPolicyClassName in interface ModuleDefinitionImportPolicy,
or null if no import policy exists.public java.lang.String getLifecyclePolicyClassName()
ModuleDefinition
getLifecyclePolicyClassName in interface ModuleDefinitionLifecyclePolicy,
or null if no import policy exists.public java.util.jar.Manifest getManifest()
ModuleDefinition
getManifest in interface ModuleDefinitionpublic ModuleMetadata getMetadata()
ModuleDefinition
getMetadata in interface ModuleDefinitionprotected java.util.jar.Manifest generate(ModuleMetadata metadata)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||