public interface ModuleDefinition
Modifier and Type | Method and Description |
---|---|
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
|
java.lang.String getName()
java.lang.String[] getPublicInterfaces()
ModuleDependency[] getDependencies()
java.net.URI[] getLocations()
java.lang.String getVersion()
java.lang.String getImportPolicyClassName()
ImportPolicy
,
or null if no import policy exists.java.lang.String getLifecyclePolicyClassName()
LifecyclePolicy
,
or null if no import policy exists.java.util.jar.Manifest getManifest()
ModuleMetadata getMetadata()