org.jboss.deployers.spi.deployer.helpers
Class AbstractComponentDeployer<D,C>
java.lang.Object
org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput<D>
org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer<D,C>
- Type Parameters:
D
- the deployment typeC
- the component type
- All Implemented Interfaces:
- Deployer, Ordered
- Direct Known Subclasses:
- AliasDeploymentDeployer, KernelDeploymentDeployer
public abstract class AbstractComponentDeployer<D,C>
- extends AbstractRealDeployerWithInput<D>
AbstractComponentDeployer.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock, Ales Justin
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
addInput, addInput, addOutput, addOutput, getInputs, 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 |
compVisitor
protected DeploymentVisitor<C> compVisitor
- The component visitor
AbstractComponentDeployer
public AbstractComponentDeployer()
- Create a new AbstractComponentDeployer.
getOutput
public Class<? extends C> getOutput()
- Description copied from interface:
Deployer
- Get the otput for this deployer
- Specified by:
getOutput
in interface Deployer
- Overrides:
getOutput
in class AbstractDeployer
- Returns:
- the output type
setComponentVisitor
protected void setComponentVisitor(DeploymentVisitor<C> visitor)
- Set the component visitor
- Parameters:
visitor
- the visitor
- Throws:
IllegalArgumentException
- if the visitor is null
internalDeploy
public void internalDeploy(DeploymentUnit unit)
throws DeploymentException
- Description copied from class:
AbstractRealDeployer
- Deploy a deployment
- Overrides:
internalDeploy
in class AbstractRealDeployerWithInput<D>
- Parameters:
unit
- the unit
- Throws:
DeploymentException
- for any error
internalUndeploy
public void internalUndeploy(DeploymentUnit unit)
- Description copied from class:
AbstractRealDeployer
- Undeploy an deployment
- Overrides:
internalUndeploy
in class AbstractRealDeployerWithInput<D>
- Parameters:
unit
- the unit
deployComponents
protected void deployComponents(DeploymentUnit unit)
throws DeploymentException
- Throws:
DeploymentException
undeployComponents
protected void undeployComponents(DeploymentUnit unit)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.