org.objectweb.jonas.container
Class JmxBeanFactory

java.lang.Object
  |
  +--org.objectweb.jonas.container.JmxBeanFactory
All Implemented Interfaces:
JmxBeanFactoryMBean
Direct Known Subclasses:
JmxEntityFactory, JmxMdbFactory, JmxSessionFactory

public class JmxBeanFactory
extends java.lang.Object
implements JmxBeanFactoryMBean

MBean Class for general EJB Management MBean type: Standard MBean model: Delegate (ManagableEjb: JFactory)


Field Summary
protected  BeanDesc desc
           
protected  JFactory ejbToManage
          The Bean to manage
protected  java.lang.String fileName
           
 
Constructor Summary
JmxBeanFactory(JFactory ejbToManage)
          Constructor
 
Method Summary
 java.util.Set getAllDataSourceName()
           
 java.util.Set getAllJMSConnectionFactoryName()
           
 java.util.Set getAllJMSDestinationName()
           
 java.lang.Integer getCurrentInstancePoolSize()
           
 java.lang.String getEJBClass()
           
 java.lang.String getEJBFileName()
           
 java.lang.String getEJBName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejbToManage

protected JFactory ejbToManage
The Bean to manage

desc

protected BeanDesc desc

fileName

protected java.lang.String fileName
Constructor Detail

JmxBeanFactory

public JmxBeanFactory(JFactory ejbToManage)
Constructor
Parameters:
ManagableEjb - the bean to manage
Method Detail

getEJBName

public java.lang.String getEJBName()
Specified by:
getEJBName in interface JmxBeanFactoryMBean
Returns:
String The Name of this JFactory

getEJBFileName

public java.lang.String getEJBFileName()
Specified by:
getEJBFileName in interface JmxBeanFactoryMBean
Returns:
Ejb File Name

getAllDataSourceName

public java.util.Set getAllDataSourceName()
Specified by:
getAllDataSourceName in interface JmxBeanFactoryMBean
Returns:
String Set The Name Ejb DataSource

getAllJMSConnectionFactoryName

public java.util.Set getAllJMSConnectionFactoryName()
Specified by:
getAllJMSConnectionFactoryName in interface JmxBeanFactoryMBean
Returns:
String Set The Name Ejb Connection Factory

getAllJMSDestinationName

public java.util.Set getAllJMSDestinationName()
Specified by:
getAllJMSDestinationName in interface JmxBeanFactoryMBean
Returns:
String Set The Name Ejb Destination

getCurrentInstancePoolSize

public java.lang.Integer getCurrentInstancePoolSize()
Specified by:
getCurrentInstancePoolSize in interface JmxBeanFactoryMBean
Returns:
Integer The current instance pool size

getEJBClass

public java.lang.String getEJBClass()
Specified by:
getEJBClass in interface JmxBeanFactoryMBean
Returns:
String the JFactory Class