|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModuleDefinition
A module definition contains all information about a module existence, its dependencies and its exported interfaces. This module meta information can be obtained from different sources and format. For instance OSGi modules use the manifest file and so is the glassfish application server. Others can use api or xml file.
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 |
Method Detail |
---|
String getName()
String[] getPublicInterfaces()
ModuleDependency[] getDependencies()
URI[] getLocations()
String getVersion()
String getImportPolicyClassName()
ImportPolicy
,
or null if no import policy exists.String getLifecyclePolicyClassName()
LifecyclePolicy
,
or null if no import policy exists.Manifest getManifest()
ModuleMetadata getMetadata()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |