org.ow2.jonas.management.extensions.container.api
Interface IContainerManagement

All Known Implementing Classes:
ContainerManagement

public interface IContainerManagement

Interface for containers management.

Author:
eyindanga

Method Summary
 ObjectName getEJBModuleObjectName(String ejbObjectName)
          Gets ObjectName for J2EE Module.
 List<?> getEntityBeans(ObjectName pObjectName, String serverName)
          Gets all the EntityBean MBeans in a module which is deployed in a given server
 List<?> getMessageDrivenBeans(ObjectName pObjectName, String serverName)
          Gets all the Message Driven MBeans in a module which is deployed in a given server
 List<?> getStatefulSessionBeans(ObjectName pObjectName, String serverName)
          Gets all the Stateful Session MBeans in a module which is deployed in a given server
 List<?> getStatelessSessionBeans(ObjectName pObjectName, String serverName)
          Gets all the Stateless Session MBeans in a module which is deployed in a given server
 Map getTotalEJB(ObjectName moduleOn)
          Get the total number of EJBs in a EJBModule
 

Method Detail

getEJBModuleObjectName

ObjectName getEJBModuleObjectName(String ejbObjectName)
                                  throws MalformedObjectNameException
Gets ObjectName for J2EE Module.

Parameters:
ejbObjectName -
Returns:
Throws:
MalformedObjectNameException

getEntityBeans

List<?> getEntityBeans(ObjectName pObjectName,
                       String serverName)
Gets all the EntityBean MBeans in a module which is deployed in a given server

Parameters:
pObjectName - pObjectName
serverName - name of the administrated server.
Returns:
List of entity beans.

getStatefulSessionBeans

List<?> getStatefulSessionBeans(ObjectName pObjectName,
                                String serverName)
Gets all the Stateful Session MBeans in a module which is deployed in a given server

Parameters:
pObjectName - pObjectName
serverName - name of the administrated server.
Returns:
List of entity beans.

getStatelessSessionBeans

List<?> getStatelessSessionBeans(ObjectName pObjectName,
                                 String serverName)
Gets all the Stateless Session MBeans in a module which is deployed in a given server

Parameters:
pObjectName - pObjectName
serverName - name of the administrated server.
Returns:
List of entity beans.

getMessageDrivenBeans

List<?> getMessageDrivenBeans(ObjectName pObjectName,
                              String serverName)
Gets all the Message Driven MBeans in a module which is deployed in a given server

Parameters:
pObjectName - pObjectName
serverName - name of the administrated server.
Returns:
List of entity beans.

getTotalEJB

Map getTotalEJB(ObjectName moduleOn)
Get the total number of EJBs in a EJBModule

Parameters:
moduleOn - the EJBModule's ObjectName
Returns:
map with the number of EJBs of different types where the key is the JSR77 type name


Copyright © 2010 OW2 Consortium. All Rights Reserved.