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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ejbToManage
protected JFactory ejbToManage
- The Bean to manage
desc
protected BeanDesc desc
fileName
protected java.lang.String fileName
JmxBeanFactory
public JmxBeanFactory(JFactory ejbToManage)
- Constructor
- Parameters:
ManagableEjb
- the bean to manage
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.Hashtable getAllDataSourceName()
- Specified by:
getAllDataSourceName
in interface JmxBeanFactoryMBean
- Returns:
- Set The Name set of the DataSources
getAllJMSConnectionFactoryName
public java.util.Set getAllJMSConnectionFactoryName()
- Specified by:
getAllJMSConnectionFactoryName
in interface JmxBeanFactoryMBean
- Returns:
- Set The Name set of the Connection Factories
getAllMailFactorySName
public java.util.Hashtable getAllMailFactorySName()
- Specified by:
getAllMailFactorySName
in interface JmxBeanFactoryMBean
- Returns:
- Hashtable which maps the JNDI names provided by the DD to the Session Mail factyory resources
known by the Mail Service
getAllMailFactoryMName
public java.util.Hashtable getAllMailFactoryMName()
- Specified by:
getAllMailFactoryMName
in interface JmxBeanFactoryMBean
- Returns:
- Hashtable which maps the JNDI names provided by the DD to the MimePartDataSource Mail factyory resources
known by the Mail Service
getAllJMSDestinationName
public java.util.Set getAllJMSDestinationName()
- Specified by:
getAllJMSDestinationName
in interface JmxBeanFactoryMBean
- Returns:
- Set The Name set of the JMS Destinations
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
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interface JmxBeanFactoryMBean
- Returns:
- String the displayName of the bean, or bean name if not defined.
getJndiName
public java.lang.String getJndiName()
- Specified by:
getJndiName
in interface JmxBeanFactoryMBean
- Returns:
- String the JNDI Name of the bean.
getHomeClass
public java.lang.String getHomeClass()
- Specified by:
getHomeClass
in interface JmxBeanFactoryMBean
- Returns:
- String the HomeClass of the bean.
getRemoteClass
public java.lang.String getRemoteClass()
- Specified by:
getRemoteClass
in interface JmxBeanFactoryMBean
- Returns:
- String the RemoteClass of the bean.
getLocalHomeClass
public java.lang.String getLocalHomeClass()
- Specified by:
getLocalHomeClass
in interface JmxBeanFactoryMBean
- Returns:
- String the LocalHomeClass of the bean.
getLocalClass
public java.lang.String getLocalClass()
- Specified by:
getLocalClass
in interface JmxBeanFactoryMBean
- Returns:
- String the LocalClass of the bean.