org.objectweb.jonas.ear.EarServiceImplMBean Interface Reference

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

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

String deployEarMBean (String fileName) throws Exception

Package Functions

void unDeployEarMBean (String fileName) throws Exception
Integer getCurrentNumberOfEars ()
List getInstalledEars () throws Exception
Set getEarNames ()
boolean isEarLoaded (String fileName)
List getDeployedEars ()
List getDeployableEars () throws Exception
List getAutoloadDirectories ()
String getAppsDirectory ()

Detailed Description

JOnAS EAR Service MBean interface. This interface provides a description for the EAR service management.
Author:
Florent Benoit

Ludovic Bert

Definition at line 39 of file EarServiceImplMBean.java.


Member Function Documentation

String org.objectweb.jonas.ear.EarServiceImplMBean.deployEarMBean String  fileName  )  throws Exception
 

Deploy an EAR, used by the JMX Management.

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.EarServiceImplMBean.getAppsDirectory  )  [package]
 

Return the Apps directory.

Returns:
The Apps directory

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

List org.objectweb.jonas.ear.EarServiceImplMBean.getAutoloadDirectories  )  [package]
 

Return the list of "autoload" directories for web applications.

Returns:
The list of all "autoload" directories

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

Integer org.objectweb.jonas.ear.EarServiceImplMBean.getCurrentNumberOfEars  )  [package]
 

Returns:
current number of ears deployed in the JOnAS server

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

List org.objectweb.jonas.ear.EarServiceImplMBean.getDeployableEars  )  throws Exception [package]
 

Return the list of installed Applications ready to deploy.

Returns:
The list of deployable Applications
Exceptions:
Exception if the list of deployable ears can't be returned

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

List org.objectweb.jonas.ear.EarServiceImplMBean.getDeployedEars  )  [package]
 

Return the list of all loaded Applications.

Returns:
The list of deployed Applications

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

Set org.objectweb.jonas.ear.EarServiceImplMBean.getEarNames  )  [package]
 

This method is added temporarily. It will disapear when Ears will have their associated MBeans (when Ears will become manageable)

Returns:
the names of the ears currently deployed in the JOnAS server

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

List org.objectweb.jonas.ear.EarServiceImplMBean.getInstalledEars  )  throws Exception [package]
 

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'.

Returns:
The list of EAR files or the directories with expanded Applications found
Exceptions:
Exception if the list can't be retrieved

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

boolean org.objectweb.jonas.ear.EarServiceImplMBean.isEarLoaded 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.

void org.objectweb.jonas.ear.EarServiceImplMBean.unDeployEarMBean String  fileName  )  throws Exception [package]
 

Undeploy an EAR, used by the JMX Management.

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.


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