JOnAS EAR Service Implementation class. This class provides an implementation
of the ear service.
author: Florent Benoit author: Ludovic Bert Contributor(s): Adriana Danes: highlight configuration author: properties Eric Hardesty: added ability to include rar files in an author: ear Michel-Ange Anton : new JSR77 MBean
deployEar(Context ctx) Deploy an EAR file with sending JAR file to the EJB container and WAR
file to the WEB container and RAR file to the resource service.
Parameters: ctx - the context which contains the configuration in order todeploy an EAR.
Deploy an EAR file with sending JAR file to the EJB container and WAR
file to the WEB container and RAR file to the resource service.
Parameters: ctx - the context which contains the configuration in order todeploy an EAR. The ObjectName of the J2EE Application MBean associated to thedeployed EAR the Application Container throws: EarServiceException - if the deployment of the EAR failed.
Deploy an ear with its given fileName
Parameters: fileName - file to deploy (ear) The ObjectName of the J2EE Application MBean associated to thedeployed EAR throws: Exception - if the deployment of the EAR failed. See Also:org.objectweb.jonas.ear.EarService.deployEar(java.lang.String)
Deploy an EAR by delegating the operation to the deployEar() method. This
is used by jonasAdmin management application.
Parameters: fileName - the fileName of the ear which must be be deployed. The ObjectName of the J2EE Application MBean associated to thedeployed EAR throws: Exception - if the deployment of the EAR failed.
This method is added temporarily. It will disapear when Ears will have
their associated MBeans (when Ears will become manageable)
the names of the ears currently deployed in the JOnAS server
Return the list of installed Applications. The EAR files or the
directories with expanded Applications are searched in JONAS_BASE/apps
and all Applications directories 'autoload'.
The list of EAR files or the directories with expandedApplications found throws: Exception - if the list can't be retrieved
Test if the specified filename is already deployed or not. This
method is defined in the EarService interface.
Parameters: fileName - the name of the ear file. true if the ear is deployed, else false.
isEarDeployedByUnpackName
public boolean isEarDeployedByUnpackName(String unpackName)(Code)
Test if the specified unpack name is already deployed or not. This
method is defined in the EarService interface.
Parameters: unpackName - the name of the ear file. true if the ear is deployed, else false.
Test if the specified filename is already deployed or not. This method
is a management method provided by the EarServerice MBean.
Parameters: fileName - the name of the ear file. true if the ear is deployed, else false.
Undeploy an EAR by sending the request to the EJB container and to the
WEB container and the Resource service.
Parameters: ctx - the context which contains the configuration in order toundeploy an EAR. throws: EarServiceException - if the undeployment of the EAR failed.
Undeploy an EAR by delegating the operation to the unDeployEar() method.
This is used for JMX management.
Parameters: fileName - the fileName of the ear which must be be undeployed. throws: Exception - if the undeployment of the EAR failed. See Also:org.objectweb.jonas.ear.EarService.unDeployEar(java.lang.String)
Undeploy an EAR by delegating the operation to the unDeployEar() method.
This is used for JMX management.
Parameters: fileName - the fileName of the ear which must be be undeployed. throws: Exception - if the undeployment of the EAR failed.
Methods inherited from org.objectweb.jonas.service.AbsServiceImpl