org.objectweb.jonas.container
Interface EJBServiceImplMBean

All Known Implementing Classes:
EJBServiceImpl

public interface EJBServiceImplMBean

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


Method Summary
 Integer getCurrentNumberOfContainer()
           
 Set getDataSourceDependence(String dsName)
           
 List getDeployableJars()
           
 List getDeployedJars()
           
 List getInstalledJars()
          Return the list of installed EJB containers.
 String getJarsDirectory()
           
 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.

getInstalledJars

List getInstalledJars()
                      throws Exception
Return the list of installed EJB containers. The JAR files or the directories with expanded EJB container are searched in JONAS_BASE/ejbjars and all ejbjar directories 'autoload'.

Returns:
The list of JAR files or the directories with expanded EJB container found
Throws:
Exception - if the list can't be retrieved

getDeployedJars

List getDeployedJars()

getDeployableJars

List getDeployableJars()
                       throws Exception
Throws:
Exception

getJarsDirectory

String getJarsDirectory()

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 © 2007 OW2 Consortium. All Rights Reserved.