org.ow2.jonas.ejb2.internal
Interface JOnASEJBServiceMBean

All Known Implementing Classes:
JOnASEJBService

public interface JOnASEJBServiceMBean

MBean Interface for EJB Service Management. MBean type: Standard MBean model: Inheritance (EJBServiceImpl)


Method Summary
 Integer getCurrentNumberOfContainer()
           
 Set getDataSourceDependence(String dsName)
           
 List<String> getDeployedJars()
          Return the list of all loaded EJB container.
 Set getJmsConnectionFactoryDependence(String cfName)
           
 Set getJmsDestinationDependence(String dsName)
           
 Set getMailFactoryDependence(String mfName)
           
 Integer getTotalCurrentNumberOfBeanType()
           
 Integer getTotalCurrentNumberOfBMPType()
           
 Integer getTotalCurrentNumberOfCMPType()
           
 Integer getTotalCurrentNumberOfMDBType()
           
 Integer getTotalCurrentNumberOfSBFType()
           
 Integer getTotalCurrentNumberOfSBLType()
           
 boolean isJarLoaded(String fileName)
          Test if the specified filename is already deployed or not.
 void syncAllEntities(boolean passivate)
          Synchronized all entity bean containers.
 

Method Detail

getCurrentNumberOfContainer

Integer getCurrentNumberOfContainer()
Returns:
Integer Total Number of Container actually in JOnAS

getTotalCurrentNumberOfBeanType

Integer getTotalCurrentNumberOfBeanType()
Returns:
Integer Total Number of Bean Type actually in JOnAS

getTotalCurrentNumberOfBMPType

Integer getTotalCurrentNumberOfBMPType()
Returns:
Integer Total Number of Bmp Type actually in JOnAS

getTotalCurrentNumberOfCMPType

Integer getTotalCurrentNumberOfCMPType()
Returns:
Integer Total Number of Cmp Type actually in JOnAS

getTotalCurrentNumberOfSBFType

Integer getTotalCurrentNumberOfSBFType()
Returns:
Integer Total Number of Sbf Type actually in JOnAS

getTotalCurrentNumberOfSBLType

Integer getTotalCurrentNumberOfSBLType()
Returns:
Integer Total Number of Sbl Type actually in JOnAS

getTotalCurrentNumberOfMDBType

Integer getTotalCurrentNumberOfMDBType()
Returns:
Integer Total Number of Mdb Type actually in JOnAS

getDataSourceDependence

Set getDataSourceDependence(String dsName)
Returns:
the ObjectName of all the ejbs using this datasource

getJmsDestinationDependence

Set getJmsDestinationDependence(String dsName)
Returns:
the ObjectName of all the ejb using this destination.

getJmsConnectionFactoryDependence

Set getJmsConnectionFactoryDependence(String cfName)
Returns:
the ObjectName of all the ejb using this Connection Factory.

getMailFactoryDependence

Set getMailFactoryDependence(String mfName)
Returns:
the ObjectName of all the ejb using a given Mail Factory.

getDeployedJars

List<String> getDeployedJars()
Return the list of all loaded EJB container.

Returns:
The list of deployed EJB container

syncAllEntities

void syncAllEntities(boolean passivate)
Synchronized all entity bean containers.

Parameters:
passivate - passivate instances after synchronization.

isJarLoaded

boolean isJarLoaded(String fileName)
Test if the specified filename is already deployed or not.

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


Copyright © 2008 OW2 Consortium. All Rights Reserved.