org.jboss.deployers.vfs.spi.deployer
Class AbstractSimpleVFSRealDeployer<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.AbstractSimpleRealDeployer<T>
              extended by org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer<T>
Type Parameters:
T - the input type
All Implemented Interfaces:
Deployer, Ordered

public abstract class AbstractSimpleVFSRealDeployer<T>
extends AbstractSimpleRealDeployer<T>

AbstractSimpleVFSRealDeployer.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
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
AbstractSimpleVFSRealDeployer(Class<T> input)
          Create a new AbstractSimpleVFSRealDeployer
 
Method Summary
 void deploy(DeploymentUnit unit, T deployment)
           
abstract  void deploy(VFSDeploymentUnit unit, T deployment)
          Deploy a deployment
 void undeploy(DeploymentUnit unit, T deployment)
           
 void undeploy(VFSDeploymentUnit unit, T deployment)
          Undeploy a deployment
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer
getInput, internalDeploy, internalUndeploy
 
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, 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
 

Constructor Detail

AbstractSimpleVFSRealDeployer

public AbstractSimpleVFSRealDeployer(Class<T> input)
Create a new AbstractSimpleVFSRealDeployer

Parameters:
input - the input type
Throws:
IllegalArgumentException - for a null input
Method Detail

deploy

public void deploy(DeploymentUnit unit,
                   T deployment)
            throws DeploymentException
Specified by:
deploy in class AbstractSimpleRealDeployer<T>
Throws:
DeploymentException

undeploy

public void undeploy(DeploymentUnit unit,
                     T deployment)
Overrides:
undeploy in class AbstractSimpleRealDeployer<T>

deploy

public abstract void deploy(VFSDeploymentUnit unit,
                            T deployment)
                     throws DeploymentException
Deploy a deployment

Parameters:
unit - the unit
deployment - the attachment
Throws:
DeploymentException - for any error

undeploy

public void undeploy(VFSDeploymentUnit unit,
                     T deployment)
Undeploy a deployment

Parameters:
unit - the unit
deployment - the attachment


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.