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, org.jboss.deployers.spi.Ordered, org.jboss.deployers.structure.spi.ClassLoaderFactory
Direct Known Subclasses:
AbstractTopLevelClassLoaderDeployer

public abstract class AbstractClassLoaderDeployer
extends AbstractDeployer
implements org.jboss.deployers.structure.spi.ClassLoaderFactory

AbstractClassLoaderDeployer.

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
AbstractClassLoaderDeployer()
          Create a new AbstractClassLoaderDeployer.
 
Method Summary
 void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
          Deploy a deployment
 void removeClassLoader(org.jboss.deployers.structure.spi.DeploymentContext context)
           
 void undeploy(org.jboss.deployers.structure.spi.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, 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
 
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(org.jboss.deployers.structure.spi.DeploymentUnit unit)
            throws org.jboss.deployers.spi.DeploymentException
Description copied from interface: Deployer
Deploy a deployment

Specified by:
deploy in interface Deployer
Parameters:
unit - the unit
Throws:
org.jboss.deployers.spi.DeploymentException - for any error

undeploy

public void undeploy(org.jboss.deployers.structure.spi.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(org.jboss.deployers.structure.spi.DeploymentContext context)
                       throws Exception
Specified by:
removeClassLoader in interface org.jboss.deployers.structure.spi.ClassLoaderFactory
Throws:
Exception


Copyright © 2008 JBoss Inc.. All Rights Reserved.