org.jboss.deployers.vfs.plugins.classloader
Class InMemoryClassesDeployer
java.lang.Object
org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer
org.jboss.deployers.vfs.plugins.classloader.InMemoryClassesDeployer
- All Implemented Interfaces:
- Deployer, Ordered
public class InMemoryClassesDeployer
- extends AbstractVFSRealDeployer
TempURLDeployer.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock, Ales Justin
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 |
DYNAMIC_CLASS_URL_KEY
public static final String DYNAMIC_CLASS_URL_KEY
- The name of the dynamic class root
- See Also:
- Constant Field Values
DYNAMIC_CLASS_KEY
public static final String DYNAMIC_CLASS_KEY
- The name of the dynamic class root
- See Also:
- Constant Field Values
InMemoryClassesDeployer
public InMemoryClassesDeployer()
- Create a new TempURLDeployer.
createHost
protected String createHost(VFSDeploymentUnit unit)
- Create host name.
- Parameters:
unit
- the deployment unit
- Returns:
- the host name
deploy
public void deploy(VFSDeploymentUnit unit)
throws DeploymentException
- Description copied from class:
AbstractVFSRealDeployer
- Deploy a vfs deployment
- Specified by:
deploy
in class AbstractVFSRealDeployer
- Parameters:
unit
- the unit
- Throws:
DeploymentException
- for any error
undeploy
public void undeploy(VFSDeploymentUnit unit)
- Description copied from class:
AbstractVFSRealDeployer
- Undeploy a vfs deployment
- Overrides:
undeploy
in class AbstractVFSRealDeployer
- Parameters:
unit
- the unit
setHostNameCreator
public void setHostNameCreator(HostNameCreator hostNameCreator)
- Set host name creator.
- Parameters:
hostNameCreator
- the host name creator
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.