|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.util.ModuleDescriptor<T>
public class ModuleDescriptor<T extends RootDeploymentDescriptor>
This class describes a module information for an applicaiton module
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.Descriptor |
|---|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED |
| Constructor Summary | |
|---|---|
ModuleDescriptor()
Creates new ModuleDescriptor |
|
| Method Summary | |
|---|---|
void |
addWebDeploymentExtension(DeploymentExtensionDescriptor de)
Add a new deployment-extension for this descriptor |
java.lang.String |
getAlternateDescriptor()
|
java.lang.String |
getArchiveUri()
|
java.lang.String |
getContextRoot()
|
T |
getDescriptor()
|
java.util.jar.Manifest |
getManifest()
|
java.lang.String |
getModuleName()
Returns the value of the module-name element in the application.xml if it's defined. |
XModuleType |
getModuleType()
|
java.util.Iterator |
getWebDeploymentExtensions()
|
boolean |
isStandalone()
|
void |
print(java.lang.StringBuffer toStringBuffer)
A String representation of this object. |
void |
setAlternateDescriptor(java.lang.String altDD)
Sets the path to the alternate deployment descriptors in the application archive |
void |
setArchiveUri(java.lang.String path)
Sets the archive uri as defined in the application xml or the full archive path for standalone modules |
void |
setContextRoot(java.lang.String contextRoot)
Sets the context root for Web module |
void |
setDescriptor(T descriptor)
Sets the @see BundleDescriptor descriptor for this module |
void |
setManifest(java.util.jar.Manifest m)
Sets the @see Manifest manifest information for this module |
void |
setModuleName(java.lang.String moduleName)
Sets the module name |
void |
setModuleType(XModuleType type)
|
void |
setStandalone(boolean standalone)
Sets the standalone flag |
| Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor |
|---|
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleDescriptor()
| Method Detail |
|---|
public void setModuleType(XModuleType type)
public XModuleType getModuleType()
public void setArchiveUri(java.lang.String path)
public java.lang.String getArchiveUri()
public void setAlternateDescriptor(java.lang.String altDD)
altDD - the uri for the deployment descriptorspublic java.lang.String getAlternateDescriptor()
public void setDescriptor(T descriptor)
descriptor - the module descriptorpublic T getDescriptor()
public void setContextRoot(java.lang.String contextRoot)
contextRoot - the contextRootpublic java.lang.String getContextRoot()
public java.lang.String getModuleName()
public void setModuleName(java.lang.String moduleName)
public java.util.jar.Manifest getManifest()
public void setManifest(java.util.jar.Manifest m)
public boolean isStandalone()
public void setStandalone(boolean standalone)
public void addWebDeploymentExtension(DeploymentExtensionDescriptor de)
de - deployment-extension descriptor to addpublic java.util.Iterator getWebDeploymentExtensions()
public void print(java.lang.StringBuffer toStringBuffer)
Descriptor
print in class Descriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||