public class ModuleDescriptor<T extends RootDeploymentDescriptor> extends Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED| Constructor and Description |
|---|
ModuleDescriptor()
Creates new ModuleDescriptor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlternateDescriptor() |
String |
getArchiveUri() |
String |
getContextRoot() |
T |
getDescriptor() |
Manifest |
getManifest() |
String |
getModuleName()
Returns the value of the module-name element in the application.xml if
it's defined.
|
org.glassfish.api.deployment.archive.ArchiveType |
getModuleType() |
Iterator |
getWebDeploymentExtensions() |
boolean |
isStandalone() |
void |
print(StringBuffer toStringBuffer)
A String representation of this object.
|
void |
setAlternateDescriptor(String altDD)
Sets the path to the alternate deployment descriptors
in the application archive
|
void |
setArchiveUri(String path)
Sets the archive uri as defined in the application xml
or the full archive path for standalone modules
|
void |
setContextRoot(String contextRoot)
Sets the context root for Web module
|
void |
setDescriptor(T descriptor)
Sets the @see BundleDescriptor descriptor for this
module
|
void |
setManifest(Manifest m)
Sets the @see Manifest manifest information for this
module
|
void |
setModuleName(String moduleName)
Sets the module name
|
void |
setModuleType(org.glassfish.api.deployment.archive.ArchiveType type) |
void |
setStandalone(boolean standalone)
Sets the standalone flag
|
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visitaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic void setModuleType(org.glassfish.api.deployment.archive.ArchiveType type)
public org.glassfish.api.deployment.archive.ArchiveType getModuleType()
public void setArchiveUri(String path)
public String getArchiveUri()
public void setAlternateDescriptor(String altDD)
altDD - the uri for the deployment descriptorspublic String getAlternateDescriptor()
public void setDescriptor(T descriptor)
descriptor - the module descriptorpublic T getDescriptor()
public void setContextRoot(String contextRoot)
contextRoot - the contextRootpublic String getContextRoot()
public String getModuleName()
public void setModuleName(String moduleName)
public Manifest getManifest()
public void setManifest(Manifest m)
public boolean isStandalone()
public void setStandalone(boolean standalone)
public Iterator getWebDeploymentExtensions()
public void print(StringBuffer toStringBuffer)
Descriptorprint in class DescriptorCopyright © 2017–2020 Eclipse Foundation. All rights reserved.