org.jboss.deployers.spi.deployer.helpers
Class AbstractRealDeployerWithInput<T>

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
      extended by org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
          extended by org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput<T>
Type Parameters:
T - the type of the input
All Implemented Interfaces:
Deployer, org.jboss.deployers.spi.Ordered
Direct Known Subclasses:
AbstractComponentDeployer

public abstract class AbstractRealDeployerWithInput<T>
extends AbstractRealDeployer

AbstractRealDeployerWithInput.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
org.jboss.deployers.spi.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
 Class<? extends T> getInput()
          Get the input for this deployer
 void internalDeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
          Deploy a deployment
 void internalUndeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
          Undeploy an deployment
protected  void setDeploymentVisitor(DeploymentVisitor<T> visitor)
          Set the deployment 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, 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
 

Constructor Detail

AbstractRealDeployerWithInput

public AbstractRealDeployerWithInput()
Create a new AbstractRealDeployerWithInput.


AbstractRealDeployerWithInput

public AbstractRealDeployerWithInput(Class<T> input)
Create a new AbstractRealDeployerWithInput.

Parameters:
input - the input
Method Detail

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

setDeploymentVisitor

protected void setDeploymentVisitor(DeploymentVisitor<T> visitor)
Set the deployment 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

Specified by:
internalDeploy in class AbstractRealDeployer
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 AbstractRealDeployer
Parameters:
unit - the unit


Copyright © 2008 JBoss Inc.. All Rights Reserved.