|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.glassfish.deployment.common.DynamicAttributesDescriptor
org.glassfish.deployment.common.Descriptor
org.glassfish.deployment.common.ModuleDescriptor<T>
public class ModuleDescriptor<T extends RootDeploymentDescriptor>
This class describes a module information for an applicaiton module
| Field Summary |
|---|
| Fields inherited from class org.glassfish.deployment.common.Descriptor |
|---|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED |
| Constructor Summary | |
|---|---|
ModuleDescriptor()
Creates new ModuleDescriptor |
|
| Method Summary | |
|---|---|
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. |
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(ArchiveType type)
|
void |
setStandalone(boolean standalone)
Sets the standalone flag |
| Methods inherited from class org.glassfish.deployment.common.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(ArchiveType type)
public 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)
Descriptor
print in class Descriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||