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, org.jboss.deployers.spi.Ordered
public abstract class AbstractComponentDeployer<D,C>
- extends AbstractRealDeployerWithInput<D>
AbstractComponentDeployer.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
| Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
org.jboss.deployers.spi.Ordered.OrderedComparator |
| Fields inherited from interface org.jboss.deployers.spi.Ordered |
COMPARATOR |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
addInput, addInput, addOutput, addOutput, getInputs, getOutputs, getRelativeOrder, getStage, getType, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setType, setWantComponents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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(org.jboss.deployers.structure.spi.DeploymentUnit unit)
throws org.jboss.deployers.spi.DeploymentException
- Description copied from class:
AbstractRealDeployer
- Deploy a deployment
- Overrides:
internalDeploy in class AbstractRealDeployerWithInput<D>
- Parameters:
unit - the unit
- Throws:
org.jboss.deployers.spi.DeploymentException - for any error
internalUndeploy
public void internalUndeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
- Description copied from class:
AbstractRealDeployer
- Undeploy an deployment
- Overrides:
internalUndeploy in class AbstractRealDeployerWithInput<D>
- Parameters:
unit - the unit
deployComponents
protected void deployComponents(org.jboss.deployers.structure.spi.DeploymentUnit unit)
throws org.jboss.deployers.spi.DeploymentException
- Throws:
org.jboss.deployers.spi.DeploymentException
undeployComponents
protected void undeployComponents(org.jboss.deployers.structure.spi.DeploymentUnit unit)
Copyright © 2008 JBoss Inc.. All Rights Reserved.