| java.lang.Object org.ow2.easybeans.deployer.AbsDeployer org.ow2.easybeans.deployer.AbsWebContainerDeployer org.ow2.easybeans.deployer.TomcatDeployer
TomcatDeployer | public class TomcatDeployer extends AbsWebContainerDeployer implements IDeployer(Code) | | Implementation of the Deployer for EasyBeans in Tomcat.
It will deploy EJB3 and EAR. EJB3 will be deployed in EasyBeans while WAR
file will go in Tomcat.
author: Florent Benoit |
Constructor Summary | |
public | TomcatDeployer() Build a new instance of this deployer. |
Method Summary | |
public void | deploy(IDeployable deployable) Deploy a deployable. | protected void | deployWARs(EARDeployable earDeployable, URL earURL, ClassLoader earClassLoader, ClassLoader parentClassLoader) Deploy the WAR files present in the given EAR. | protected void | undeployWAR(WARDeployable warDeployable) Undeploy an given WAR (called by the undeploy method). |
TomcatDeployer | public TomcatDeployer() throws DeployerException(Code) | | Build a new instance of this deployer.
throws: DeployerException - if the instance is not built. |
deploy | public void deploy(IDeployable deployable) throws DeployerException(Code) | | Deploy a deployable. It can be an EJB jar, EAR, WAR, etc.
Parameters: deployable - a given deployable throws: DeployerException - if the deployment is not done. |
deployWARs | protected void deployWARs(EARDeployable earDeployable, URL earURL, ClassLoader earClassLoader, ClassLoader parentClassLoader) throws DeployerException(Code) | | Deploy the WAR files present in the given EAR.
Parameters: earDeployable - the EAR containing the WARs Parameters: earURL - the EAR URL Parameters: earClassLoader - the EAR classloader Parameters: parentClassLoader - the parent classloader (EJB) to use throws: DeployerException - if the wars are not deployed. |
undeployWAR | protected void undeployWAR(WARDeployable warDeployable) throws DeployerException(Code) | | Undeploy an given WAR (called by the undeploy method).
Parameters: warDeployable - a given WAR deployable throws: DeployerException - if the undeployment is not done. |
Methods inherited from org.ow2.easybeans.deployer.AbsWebContainerDeployer | protected void deployEAR(EARDeployable earDeployable) throws DeployerException(Code)(Java Doc) abstract protected void deployWARs(EARDeployable earDeployable, URL earURL, ClassLoader earClassLoader, ClassLoader parentClassLoader) throws DeployerException(Code)(Java Doc) public void undeploy(IDeployable deployable) throws DeployerException(Code)(Java Doc) protected void undeployEAR(EARDeployable tmpEARDeployable) throws DeployerException(Code)(Java Doc) abstract protected void undeployWAR(WARDeployable warDeployable) throws DeployerException(Code)(Java Doc)
|
Fields inherited from org.ow2.easybeans.deployer.AbsDeployer | final public static String DEFAULT_FOLDER(Code)(Java Doc)
|
|
|