org.ow2.jonas.ear.internal
Interface JOnASEARServiceMBean

All Known Implementing Classes:
JOnASEARService

public interface JOnASEARServiceMBean

JOnAS EAR Service MBean interface. This interface provides a description for the EAR service management.

Author:
Florent Benoit, Ludovic Bert

Method Summary
 List<String> getDeployedEars()
          Return the list of all loaded Applications.
 Integer getDeployedEARsNumber()
          Returns the number of EARs deployed in the JOnAS server.
 boolean isEarLoaded(String fileName)
          Test if the specified filename is already deployed or not
 

Method Detail

getDeployedEARsNumber

Integer getDeployedEARsNumber()
Returns the number of EARs deployed in the JOnAS server.

Returns:
The number of EARs deployed in the JOnAS server

getDeployedEars

List<String> getDeployedEars()
Return the list of all loaded Applications.

Returns:
The list of deployed Applications

isEarLoaded

boolean isEarLoaded(String fileName)
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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.