|
||||||||||
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
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput<T>
T
- the type of the inputpublic abstract class AbstractRealDeployerWithInput<T>
AbstractRealDeployerWithInput.
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 | |
---|---|
AbstractRealDeployerWithInput()
Create a new AbstractRealDeployerWithInput. |
|
AbstractRealDeployerWithInput(Class<T> input)
Create a new AbstractRealDeployerWithInput. |
Method Summary | ||
---|---|---|
protected
|
deploy(DeploymentUnit unit,
DeploymentVisitor<U> visitor)
Deploy over visitor. |
|
Class<? extends T> |
getInput()
Get the input for this deployer |
|
void |
internalDeploy(DeploymentUnit unit)
Deploy a deployment |
|
void |
internalUndeploy(DeploymentUnit unit)
Undeploy an deployment |
|
protected void |
setDeploymentVisitor(DeploymentVisitor<T> visitor)
Set the deployment visitor |
|
protected
|
undeploy(DeploymentUnit unit,
DeploymentVisitor<U> visitor)
Undeploy over visitor. |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer |
---|
addControllerContextName, deploy, isControllerContextNameCandidate, isUseUnitName, removeControllerContextName, setUseUnitName, undeploy |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
---|
addInput, addInput, addOutput, addOutput, 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 AbstractRealDeployerWithInput()
public AbstractRealDeployerWithInput(Class<T> input)
input
- the inputMethod Detail |
---|
public Class<? extends T> getInput()
Deployer
getInput
in interface Deployer
getInput
in class AbstractDeployer
protected void setDeploymentVisitor(DeploymentVisitor<T> visitor)
visitor
- the visitor
IllegalArgumentException
- if the visitor is nullpublic void internalDeploy(DeploymentUnit unit) throws DeploymentException
AbstractRealDeployer
internalDeploy
in class AbstractRealDeployer
unit
- the unit
DeploymentException
- for any errorprotected <U> void deploy(DeploymentUnit unit, DeploymentVisitor<U> visitor) throws DeploymentException
U
- the deployment typeunit
- the deployment unitvisitor
- the visitor
DeploymentException
- for any errorprotected <U> void undeploy(DeploymentUnit unit, DeploymentVisitor<U> visitor)
U
- the deployment typeunit
- the deployment unitvisitor
- the visitorpublic void internalUndeploy(DeploymentUnit unit)
AbstractRealDeployer
internalUndeploy
in class AbstractRealDeployer
unit
- the unit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |