org.ow2.easybeans.deployer.web.jetty
Class Jetty7Deployer
java.lang.Object
org.ow2.easybeans.deployer.AbsDeployer
org.ow2.easybeans.deployer.AbsWebContainerDeployer
org.ow2.easybeans.deployer.web.jetty.Jetty7Deployer
- All Implemented Interfaces:
- org.ow2.util.ee.deploy.api.deployer.IDeployer
public class Jetty7Deployer
- extends AbsWebContainerDeployer
- implements org.ow2.util.ee.deploy.api.deployer.IDeployer
Deployer used when EasyBeans is embedded in Jetty 7.x.
- Author:
- Florent Benoit
Constructor Summary |
Jetty7Deployer(javax.servlet.ServletContextEvent servletContextEvent)
Build a new instance of this deployer. |
Method Summary |
protected void |
deployWARs(org.ow2.util.ee.deploy.api.deployable.EARDeployable earDeployable,
java.net.URL earURL,
java.lang.ClassLoader earClassLoader,
java.lang.ClassLoader parentClassLoader,
EZBInjectionHolder ejbInjectionHolder)
Deploy the WAR files present in the given EAR. |
protected void |
undeployWAR(org.ow2.util.ee.deploy.api.deployable.WARDeployable warDeployable)
Undeploy an given WAR (called by the undeploy method). |
Methods inherited from class org.ow2.easybeans.deployer.AbsDeployer |
deployEJB, getClassLoaderForEAR, getDeployedDeployable, getEmbedded, getLibArchives, getMethod, getPersistenceUnitManager, invoke, isDeployed, loadClass, loadClass, newInstance, newInstance, setDeployed, setEmbedded, supports, undeployEJB3FromEAR, unpackEARDeployable, unsetDeployed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ow2.util.ee.deploy.api.deployer.IDeployer |
deploy, isDeployed, supports, undeploy |
Jetty7Deployer
public Jetty7Deployer(javax.servlet.ServletContextEvent servletContextEvent)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
- Build a new instance of this deployer.
- Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException
- if the instance is not built.
deployWARs
protected void deployWARs(org.ow2.util.ee.deploy.api.deployable.EARDeployable earDeployable,
java.net.URL earURL,
java.lang.ClassLoader earClassLoader,
java.lang.ClassLoader parentClassLoader,
EZBInjectionHolder ejbInjectionHolder)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
- Deploy the WAR files present in the given EAR.
- Specified by:
deployWARs
in class AbsWebContainerDeployer
- Parameters:
earDeployable
- the EAR containing the WARsearURL
- the EAR URLearClassLoader
- the EAR classloaderparentClassLoader
- the parent classloader (EJB) to useejbInjectionHolder
- the EasyBeans injection holder object
- Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException
- if the wars are not deployed.
undeployWAR
protected void undeployWAR(org.ow2.util.ee.deploy.api.deployable.WARDeployable warDeployable)
throws org.ow2.util.ee.deploy.api.deployer.DeployerException
- Undeploy an given WAR (called by the undeploy method).
- Specified by:
undeployWAR
in class AbsWebContainerDeployer
- Parameters:
warDeployable
- a given WAR deployable
- Throws:
org.ow2.util.ee.deploy.api.deployer.DeployerException
- if the undeployment is not done.
Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.