|
||||||||||
| 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
| Constructor Summary | |
|---|---|
ProxyModuleDefinition(ClassLoader classLoader)
|
|
ProxyModuleDefinition(ClassLoader classLoader,
List<ManifestProxy.SeparatorMappings> mappings)
|
|
ProxyModuleDefinition(ClassLoader classLoader,
List<ManifestProxy.SeparatorMappings> mappings,
Collection<String> habitatNames)
|
|
| Method Summary | |
|---|---|
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
public ProxyModuleDefinition(ClassLoader classLoader,
List<ManifestProxy.SeparatorMappings> mappings,
Collection<String> habitatNames)
throws IOException
IOException| Method Detail |
|---|
public String getName()
ModuleDefinition
getName in interface ModuleDefinitionpublic String[] getPublicInterfaces()
ModuleDefinition
getPublicInterfaces in interface ModuleDefinitionpublic ModuleDependency[] getDependencies()
ModuleDefinition
getDependencies in interface ModuleDefinitionpublic URI[] getLocations()
ModuleDefinition
getLocations in interface ModuleDefinitionpublic String getVersion()
ModuleDefinition
getVersion in interface ModuleDefinitionpublic String getImportPolicyClassName()
ModuleDefinition
getImportPolicyClassName in interface ModuleDefinitionImportPolicy,
or null if no import policy exists.public String getLifecyclePolicyClassName()
ModuleDefinition
getLifecyclePolicyClassName in interface ModuleDefinitionLifecyclePolicy,
or null if no import policy exists.public Manifest getManifest()
ModuleDefinition
getManifest in interface ModuleDefinitionpublic ModuleMetadata getMetadata()
ModuleDefinition
getMetadata in interface ModuleDefinition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||