| java.lang.Object org.ow2.easybeans.deployer.AbsDeployer org.ow2.easybeans.deployer.AbsWebContainerDeployer org.ow2.easybeans.deployer.JettyDeployer
JettyDeployer | public class JettyDeployer extends AbsWebContainerDeployer implements IDeployer(Code) | | Implementation of the Deployer for EasyBeans in Jetty.
It will deploy EJB3 and EAR. EJB3 will be deployed in EasyBeans while WAR
file will go in Jetty.
author: Florent Benoit |
Constructor Summary | |
public | JettyDeployer() 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. | public static void | setContextEvent(ServletContextEvent contextEvent) Set the given context event object. | protected void | undeployWAR(WARDeployable warDeployable) Undeploy an given WAR (called by the undeploy method). |
JettyDeployer | public JettyDeployer() 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. |
setContextEvent | public static void setContextEvent(ServletContextEvent contextEvent) throws DeployerException(Code) | | Set the given context event object.
Parameters: contextEvent - the given object. throws: DeployerException - if the jetty server object is not found from the given context event. |
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)
|
|
|