org.jboss.deployers.spi.deployer.helpers
Class AbstractTopLevelClassLoaderDeployer
java.lang.Object
org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractClassLoaderDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractTopLevelClassLoaderDeployer
- All Implemented Interfaces:
- Deployer, org.jboss.deployers.spi.Ordered, org.jboss.deployers.structure.spi.ClassLoaderFactory
public abstract class AbstractTopLevelClassLoaderDeployer
- extends AbstractClassLoaderDeployer
AbstractTopLevelClassLoaderDeployer.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
| 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 |
| 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 |
AbstractTopLevelClassLoaderDeployer
public AbstractTopLevelClassLoaderDeployer()
createClassLoader
public ClassLoader createClassLoader(org.jboss.deployers.structure.spi.DeploymentContext context)
throws Exception
- Throws:
Exception
removeClassLoader
public void removeClassLoader(org.jboss.deployers.structure.spi.DeploymentContext context)
throws Exception
- Specified by:
removeClassLoader in interface org.jboss.deployers.structure.spi.ClassLoaderFactory- Overrides:
removeClassLoader in class AbstractClassLoaderDeployer
- Throws:
Exception
createTopLevelClassLoader
protected abstract ClassLoader createTopLevelClassLoader(org.jboss.deployers.structure.spi.DeploymentContext context)
throws Exception
- Create a top level classloader
- Parameters:
context - the context
- Returns:
- the classloader
- Throws:
Exception - for any error
removeTopLevelClassLoader
protected void removeTopLevelClassLoader(org.jboss.deployers.structure.spi.DeploymentContext context)
throws Exception
- Remove a top level classloader
- Parameters:
context - the context
- Throws:
Exception - for any error
Copyright © 2008 JBoss Inc.. All Rights Reserved.