| java.lang.Object org.ow2.easybeans.deployer.AbsDeployer org.ow2.easybeans.deployer.JOnASDeployer
JOnASDeployer | public class JOnASDeployer extends AbsDeployer implements IDeployer(Code) | | Implementation of the Deployer for EasyBeans in JOnAS.
It will deploy EJB3 and EAR. EJB21 of the EAR will go in JOnAS, EJB3 in
EasyBeans, War in JOnAS, Rar in JOnAS.
author: Florent Benoit |
Constructor Summary | |
public | JOnASDeployer() Build a new instance of this deployer. |
Method Summary | |
public void | deploy(IDeployable deployable) Deploy a deployable. | protected void | deployEAR(EARDeployable earDeployable) Deploy an EAR (called by the deploy method). | protected void | deployEJB21s(EARDeployable earDeployable, URL earURL, URLClassLoader earClassLoader, ClassLoader ejbClassLoader) Deploy the EJB 2.1 of the given EAR. | protected void | deployRARs(EARDeployable earDeployable, URL earURL, ClassLoader earClassLoader) Deploy the RARs of the given EAR. | protected void | deployWARs(EARDeployable earDeployable, URL earURL, ClassLoader earClassLoader, ClassLoader parentClassLoader) Deploy the WAR files present in the given EAR. | public void | undeploy(IDeployable deployable) Undeploy the given deployable. | protected void | undeployEAR(EARDeployable tmpEARDeployable) Undeploy an EAR (called by the undeploy method). |
JOnASDeployer | public JOnASDeployer() 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. |
deployEAR | protected void deployEAR(EARDeployable earDeployable) throws DeployerException(Code) | | Deploy an EAR (called by the deploy method).
Parameters: earDeployable - a given EAR deployable throws: DeployerException - if the deployment is not done. |
deployEJB21s | protected void deployEJB21s(EARDeployable earDeployable, URL earURL, URLClassLoader earClassLoader, ClassLoader ejbClassLoader) throws DeployerException(Code) | | Deploy the EJB 2.1 of the given EAR.
Parameters: earDeployable - the EAR that contains the EJB files Parameters: earURL - the URL of the EAR Parameters: earClassLoader - the classloader of the EAR Parameters: ejbClassLoader - the given EJB ClassLoader throws: DeployerException - if the EJB 2.1 filse can't be deployed |
deployRARs | protected void deployRARs(EARDeployable earDeployable, URL earURL, ClassLoader earClassLoader) throws DeployerException(Code) | | Deploy the RARs of the given EAR.
Parameters: earDeployable - the EAR that contains the war files Parameters: earURL - the URL of the EAR Parameters: earClassLoader - the classloader of the EAR throws: DeployerException - if the RARs file can't be deployed |
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. |
undeploy | public void undeploy(IDeployable deployable) throws DeployerException(Code) | | Undeploy the given deployable. It can be an EJB jar, EAR, WAR, etc.
Parameters: deployable - a given deployable to undeploy throws: DeployerException - if the undeploy operation fails. |
undeployEAR | protected void undeployEAR(EARDeployable tmpEARDeployable) throws DeployerException(Code) | | Undeploy an EAR (called by the undeploy method).
Parameters: tmpEARDeployable - a given EAR deployable throws: DeployerException - if the undeployment is not done. |
Fields inherited from org.ow2.easybeans.deployer.AbsDeployer | final public static String DEFAULT_FOLDER(Code)(Java Doc)
|
|
|