org.objectweb.jonas.ear.EarService Interface Reference

Inherited by org.objectweb.jonas.ear.EarServiceImpl.

Inheritance diagram for org.objectweb.jonas.ear.EarService:

Inheritance graph
[legend]
List of all members.

Public Member Functions

String deployEar (Context ctx) throws EarServiceException

Package Functions

void unDeployEar (Context ctx) throws EarServiceException
String deployEar (String fileName) throws Exception
Boolean isEarDeployed (String fileName)
boolean isEarDeployedByUnpackName (String unpackName)
void unDeployEar (String fileName) throws Exception
String getAppsDirectory ()

Detailed Description

JOnAS EAR Service interface. This interface provides a description of an EAR service.
Author:
Ludovic Bert

Florent Benoit

Definition at line 39 of file EarService.java.


Member Function Documentation

String org.objectweb.jonas.ear.EarService.deployEar String  fileName  )  throws Exception [package]
 

Deploy an EAR, used by management applications via J2EEServer managed object

Parameters:
fileName the fileName of the ear which must be be deployed.
Returns:
The ObjectName of the MBean associated to the deployed J2EE Application
Exceptions:
Exception if the deployment of the EAR failed.

Implemented in org.objectweb.jonas.ear.EarServiceImpl.

String org.objectweb.jonas.ear.EarService.deployEar Context  ctx  )  throws EarServiceException
 

Deploy an EAR file with sending JAR file to the EJB container and WAR file to the WEB container.

Parameters:
ctx the context which contains the configuration in order to deploy an EAR.
Returns:
The ObjectName of the J2EE Application MBean associated to the deployed EAR
Exceptions:
EarServiceException if the deployment of the EAR failed.

Implemented in org.objectweb.jonas.ear.EarServiceImpl.

Referenced by org.objectweb.jonas.server.J2EEServer.deployEar().

String org.objectweb.jonas.ear.EarService.getAppsDirectory  )  [package]
 

Return the Apps directory.

Returns:
The Apps directory

Implemented in org.objectweb.jonas.ear.EarServiceImpl.

Boolean org.objectweb.jonas.ear.EarService.isEarDeployed String  fileName  )  [package]
 

Test if the specified filename is already deployed or not.

Parameters:
fileName the name of the ear file.
Returns:
true if the ear is deployed, else false.

Implemented in org.objectweb.jonas.ear.EarServiceImpl.

Referenced by org.objectweb.jonas.server.J2EEServer.isEarDeployed().

boolean org.objectweb.jonas.ear.EarService.isEarDeployedByUnpackName String  unpackName  )  [package]
 

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.
Returns:
true if the ear is deployed, else false.

Implemented in org.objectweb.jonas.ear.EarServiceImpl.

Referenced by org.objectweb.jonas_lib.deployment.work.EarCleanTask.isDeployLogEntry().

void org.objectweb.jonas.ear.EarService.unDeployEar String  fileName  )  throws Exception [package]
 

Undeploy an EAR, used by management applications via J2EEServer managed object

Parameters:
fileName the fileName of the ear which must be be undeployed.
Exceptions:
Exception if the undeployment of the EAR failed.

Implemented in org.objectweb.jonas.ear.EarServiceImpl.

void org.objectweb.jonas.ear.EarService.unDeployEar Context  ctx  )  throws EarServiceException [package]
 

Undeploy an EAR by sending the request to the EJB container and to the WEB container.

Parameters:
ctx the context which contains the configuration in order to undeploy an EAR.
Exceptions:
EarServiceException if the undeployment of the EAR failed.

Implemented in org.objectweb.jonas.ear.EarServiceImpl.

Referenced by org.objectweb.jonas.server.J2EEServer.unDeployEar().


The documentation for this interface was generated from the following file:
Generated on Tue Feb 15 15:06:52 2005 for JOnAS by  doxygen 1.3.9.1