|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.deployers.spi.deployer.helpers.AbstractDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
public abstract class AbstractRealDeployer
AbstractRealDeployer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
---|
Ordered.OrderedComparator |
Field Summary |
---|
Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
---|
log |
Fields inherited from interface org.jboss.deployers.spi.Ordered |
---|
COMPARATOR |
Constructor Summary | |
---|---|
AbstractRealDeployer()
Create a new AbstractRealDeployer. |
Method Summary | |
---|---|
protected void |
addControllerContextName(DeploymentUnit unit)
Add controller context name. |
void |
deploy(DeploymentUnit unit)
Deploy a deployment |
protected abstract void |
internalDeploy(DeploymentUnit unit)
Deploy a deployment |
protected void |
internalUndeploy(DeploymentUnit unit)
Undeploy an deployment |
protected boolean |
isControllerContextNameCandidate(DeploymentUnit unit)
Should we set controller context name on unit? |
boolean |
isUseUnitName()
Should we use unit name for controller context name. |
protected void |
removeControllerContextName(DeploymentUnit unit)
Remove controller context name. |
void |
setUseUnitName(boolean useUnitName)
Set use unit name for controller context name. |
void |
undeploy(DeploymentUnit unit)
Undeploy an deployment |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
---|
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutput, getOutputs, getRelativeOrder, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setWantComponents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractRealDeployer()
Method Detail |
---|
public final void deploy(DeploymentUnit unit) throws DeploymentException
Deployer
unit
- the unit
DeploymentException
- for any errorprotected boolean isControllerContextNameCandidate(DeploymentUnit unit)
unit
- the dpeloyment unit
protected abstract void internalDeploy(DeploymentUnit unit) throws DeploymentException
unit
- the unit
DeploymentException
- for any errorprotected void addControllerContextName(DeploymentUnit unit)
unit
- the deployment unitprotected void removeControllerContextName(DeploymentUnit unit)
unit
- the deployment unitpublic final void undeploy(DeploymentUnit unit)
Deployer
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
unit
- the unitprotected void internalUndeploy(DeploymentUnit unit)
unit
- the unitpublic boolean isUseUnitName()
public void setUseUnitName(boolean useUnitName)
useUnitName
- flag to allow unit name usage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |