org.jboss.deployers.spi.deployer.helpers
Class AbstractSimpleRealDeployer<T>
java.lang.Object
org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer<T>
- Type Parameters:
T
- the input type
- All Implemented Interfaces:
- Deployer, Ordered
- Direct Known Subclasses:
- AbstractAnnotationDeployer, AbstractResourceVisitorDeployer, AbstractSimpleVFSRealDeployer, BeanMetaDataDeployer, DependenciesMetaDataDeployer, DeploymentAliasMetaDataDeployer, GenericAnnotationDeployer
public abstract class AbstractSimpleRealDeployer<T>
- extends AbstractRealDeployer
AbstractSimpleRealDeployer.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
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 |
AbstractSimpleRealDeployer
public AbstractSimpleRealDeployer(Class<T> input)
- Create a new AbstractSimpleRealDeployer
- Parameters:
input
- the input type
- Throws:
IllegalArgumentException
- for a null input
getInput
public Class<? extends T> getInput()
- Description copied from interface:
Deployer
- Get the input for this deployer
- Specified by:
getInput
in interface Deployer
- Overrides:
getInput
in class AbstractDeployer
- Returns:
- the input type
internalDeploy
public void internalDeploy(DeploymentUnit unit)
throws DeploymentException
- Description copied from class:
AbstractRealDeployer
- Deploy a deployment
- Specified by:
internalDeploy
in class AbstractRealDeployer
- 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 AbstractRealDeployer
- Parameters:
unit
- the unit
deploy
public abstract void deploy(DeploymentUnit unit,
T deployment)
throws DeploymentException
- Throws:
DeploymentException
undeploy
public void undeploy(DeploymentUnit unit,
T deployment)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.