org.jboss.deployers.spi.deployer.helpers
Class AbstractClassLoaderDeployer

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
      extended by org.jboss.deployers.spi.deployer.helpers.AbstractClassLoaderDeployer
All Implemented Interfaces:
Deployer, Ordered, ClassLoaderFactory
Direct Known Subclasses:
AbstractLevelClassLoaderSystemDeployer, AbstractTopLevelClassLoaderDeployer

public abstract class AbstractClassLoaderDeployer
extends AbstractDeployer
implements ClassLoaderFactory

AbstractClassLoaderDeployer.

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
AbstractClassLoaderDeployer()
          Create a new AbstractClassLoaderDeployer.
 
Method Summary
 void deploy(DeploymentUnit unit)
          Deploy a deployment
 void removeClassLoader(DeploymentUnit unit)
          Remove a classloader for this deployment
 void undeploy(DeploymentUnit unit)
          Undeploy an deployment
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
addInput, addInput, addOutput, addOutput, getInput, 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
 
Methods inherited from interface org.jboss.deployers.structure.spi.ClassLoaderFactory
createClassLoader
 

Constructor Detail

AbstractClassLoaderDeployer

public AbstractClassLoaderDeployer()
Create a new AbstractClassLoaderDeployer.

Method Detail

deploy

public void deploy(DeploymentUnit unit)
            throws DeploymentException
Description copied from interface: Deployer
Deploy a deployment

Specified by:
deploy in interface Deployer
Parameters:
unit - the unit
Throws:
DeploymentException - for any error

undeploy

public void undeploy(DeploymentUnit unit)
Description copied from interface: Deployer
Undeploy an deployment

Specified by:
undeploy in interface Deployer
Overrides:
undeploy in class AbstractDeployer
Parameters:
unit - the unit

removeClassLoader

public void removeClassLoader(DeploymentUnit unit)
                       throws Exception
Description copied from interface: ClassLoaderFactory
Remove a classloader for this deployment

Specified by:
removeClassLoader in interface ClassLoaderFactory
Parameters:
unit - the deployment unit
Throws:
Exception - for any error


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