org.jboss.deployers.spi.deployer.helpers
Class AbstractOptionalRealDeployer<T>
java.lang.Object
org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractOptionalRealDeployer<T>
- Type Parameters:
T - the deployment type
- All Implemented Interfaces:
- Deployer, org.jboss.deployers.spi.Ordered
public abstract class AbstractOptionalRealDeployer<T>
- extends AbstractRealDeployer
An abstract more complicated VFS real deployer where the input
is optional instead of mandatory.
- Version:
- $Revision: 63991 $
- Author:
- Carlo de Wolf, adrian@jboss.org
| 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 |
|
Method Summary |
abstract void |
deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit,
T deployment)
Deploy |
void |
internalDeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
Deploy a deployment |
void |
internalUndeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
Undeploy an deployment |
void |
undeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit,
T deployment)
Undeploy |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutput, 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 |
AbstractOptionalRealDeployer
public AbstractOptionalRealDeployer(Class<T> optionalInput)
- Create a new AbstractOptionalRealDeployer.
- Parameters:
optionalInput - the optional input
- Throws:
IllegalArgumentException - for null input
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
- Specified by:
internalDeploy in class AbstractRealDeployer
- Parameters:
unit - the unit
- Throws:
org.jboss.deployers.spi.DeploymentException - for any error
deploy
public abstract void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit,
T deployment)
throws org.jboss.deployers.spi.DeploymentException
- Deploy
- Parameters:
unit - the deployment unitdeployment - the optional attachment
- 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 AbstractRealDeployer
- Parameters:
unit - the unit
undeploy
public void undeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit,
T deployment)
- Undeploy
- Parameters:
unit - the deployment unitdeployment - the optional attachment
Copyright © 2008 JBoss Inc.. All Rights Reserved.