|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployer.AbsDeployer
org.objectweb.easybeans.deployer.AbsWebContainerDeployer
public abstract class AbsWebContainerDeployer
This class manage the deployment of EAR for web container. It extracts EJB3 and send them to EasyBeans while the War are given to the web container.
Field Summary | |
---|---|
private static JLog |
logger
Logger. |
Fields inherited from class org.objectweb.easybeans.deployer.AbsDeployer |
---|
DEFAULT_FOLDER |
Constructor Summary | |
---|---|
AbsWebContainerDeployer()
|
Method Summary | |
---|---|
protected void |
deployEAR(EARDeployable earDeployable)
Deploy an EAR (called by the deploy method). |
protected abstract void |
deployWARs(EARDeployable earDeployable,
java.net.URL earURL,
java.lang.ClassLoader earClassLoader,
java.lang.ClassLoader parentClassLoader)
Deploy the WAR files present in the given EAR. |
void |
undeploy(EZBDeployable deployable)
Undeploy the given deployable. |
protected void |
undeployEAR(EARDeployable tmpEARDeployable)
Undeploy an EAR (called by the undeploy method). |
protected abstract void |
undeployWAR(WARDeployable warDeployable)
Undeploy an given WAR (called by the undeploy method). |
Methods inherited from class org.objectweb.easybeans.deployer.AbsDeployer |
---|
deployEJB, getClassLoaderForEAR, getEmbedded, getMethod, getPersistenceUnitManager, invoke, loadClass, loadClass, newInstance, newInstance, setEmbedded, undeployEJB3FromEAR, unpackEARDeployable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.easybeans.deployer.api.EZBDeployer |
---|
deploy |
Field Detail |
---|
private static JLog logger
Constructor Detail |
---|
public AbsWebContainerDeployer()
Method Detail |
---|
protected abstract void deployWARs(EARDeployable earDeployable, java.net.URL earURL, java.lang.ClassLoader earClassLoader, java.lang.ClassLoader parentClassLoader) throws EZBDeployerException
earDeployable
- the EAR containing the WARsearURL
- the EAR URLearClassLoader
- the EAR classloaderparentClassLoader
- the parent classloader (EJB) to use
EZBDeployerException
- if the wars are not deployed.protected void deployEAR(EARDeployable earDeployable) throws EZBDeployerException
earDeployable
- a given EAR deployable
EZBDeployerException
- if the deployment is not done.protected void undeployEAR(EARDeployable tmpEARDeployable) throws EZBDeployerException
tmpEARDeployable
- a given EAR deployable
EZBDeployerException
- if the undeployment is not done.public void undeploy(EZBDeployable deployable) throws EZBDeployerException
deployable
- a given deployable to undeploy
EZBDeployerException
- if the undeploy operation fails.protected abstract void undeployWAR(WARDeployable warDeployable) throws EZBDeployerException
warDeployable
- a given WAR deployable
EZBDeployerException
- if the undeployment is not done.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |