|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.deployapi.TargetModuleIDImpl
public class TargetModuleIDImpl
Implements the TargetModuleID interface from JSR-88, representing the
presence of a given module on a given Target.
This implementation is independent of the TargetOwner that owns the
corresponding Target.
| Constructor Summary | |
|---|---|
TargetModuleIDImpl(TargetImpl target,
String moduleID)
Creates a new implementation object of TargetModuleId with no parent and no children. |
|
TargetModuleIDImpl(TargetImpl target,
String moduleID,
TargetModuleIDImpl parent,
TargetModuleIDImpl[] children)
Creates a new implementation object of TargetModuleID. |
|
| Method Summary | |
|---|---|
void |
addChildTargetModuleID(TargetModuleIDImpl child)
Add a child TargetModuleID to this TargetModuleID |
TargetModuleID[] |
getChildTargetModuleID()
Returns the TargetModuleIDs representing submodules of this module deployed to the Target. |
String |
getModuleID()
Returns the name of the module that is deployed to a given Target. |
ModuleType |
getModuleType()
|
TargetModuleID |
getParentTargetModuleID()
Returns the TargetModuleID for the containing module on the Target, if this TargetModuleID represents a submodule. |
Target |
getTarget()
Returns the Target on which the module is deployed. |
TargetImpl |
getTargetImpl()
|
String |
getWebURL()
Returns the URL for running the Web module, if this TargetModuleID represents a Web module or submodule on a Target. |
void |
setModuleType(ModuleType moduleType)
Sets the module type for this deployed module |
void |
setParentTargetModuleID(TargetModuleIDImpl parent)
Sets the parent TargetModuleID |
void |
setWebURL(String webURL)
Sets the URL for running the Web module, if this TargetModuleID represents a Web module or submodule on a Target. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.enterprise.deploy.spi.TargetModuleID |
|---|
toString |
| Constructor Detail |
|---|
public TargetModuleIDImpl(TargetImpl target,
String moduleID,
TargetModuleIDImpl parent,
TargetModuleIDImpl[] children)
Normally this constructor should be used only by implementations of TargetOwner. Other code will normally retrieve TargetModuleID objects from other methods that create them as part of their work (such as deployment, for example).
target - the target on which the module residesmoduleID - the name of the moduleparent - the higher-level TargetModuleIDImpl (if this object represents
a submodule of a module that is deployed to a Target)children - TargetModuleIDImpl objects representing the submodules
of this module as deployed to the Target
public TargetModuleIDImpl(TargetImpl target,
String moduleID)
target - the target on which the module residesmoduleID - the name of the module| Method Detail |
|---|
public Target getTarget()
getTarget in interface TargetModuleIDpublic TargetImpl getTargetImpl()
public String getModuleID()
getModuleID in interface TargetModuleIDpublic String getWebURL()
getWebURL in interface TargetModuleIDpublic void setWebURL(String webURL)
the - webURLpublic TargetModuleID getParentTargetModuleID()
getParentTargetModuleID in interface TargetModuleIDpublic TargetModuleID[] getChildTargetModuleID()
getChildTargetModuleID in interface TargetModuleIDpublic void addChildTargetModuleID(TargetModuleIDImpl child)
public void setParentTargetModuleID(TargetModuleIDImpl parent)
public void setModuleType(ModuleType moduleType)
the - module typepublic ModuleType getModuleType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||