org.objectweb.jonas.container
Interface JmxSblFactoryMBean

All Superinterfaces:
JmxBeanFactoryMBean, JmxSessionFactoryMBean
All Known Implementing Classes:
JmxSblFactory

public interface JmxSblFactoryMBean
extends JmxSessionFactoryMBean

MBean interface for Stateless Session EJB Management MBean type: Standard MBean model: Delegate (JSessionFactory)


Method Summary
 java.lang.Integer getMaxPoolSize()
          MBean method for bean instances pool management.
 java.lang.Integer getMinPoolSize()
          MBean method for bean instances pool management.
 java.lang.Integer getNbInstances()
          MBean method for bean instances pool management.
 void reducePoolToMinSize()
          MBean method for bean instances pool management.
 
Methods inherited from interface org.objectweb.jonas.container.JmxSessionFactoryMBean
getSessionTimeOut, setSessionTimeOut
 
Methods inherited from interface org.objectweb.jonas.container.JmxBeanFactoryMBean
getAllDataSourceName, getAllJMSConnectionFactoryName, getAllJMSDestinationName, getAllMailFactoryMName, getAllMailFactorySName, getCurrentInstancePoolSize, getDisplayName, getEJBClass, getEJBFileName, getEJBName, getHomeClass, getJndiName, getLocalClass, getLocalHomeClass, getRemoteClass
 

Method Detail

getMinPoolSize

public java.lang.Integer getMinPoolSize()
MBean method for bean instances pool management.

Returns:
the minimum size of the bean instances pool

getMaxPoolSize

public java.lang.Integer getMaxPoolSize()
MBean method for bean instances pool management.

Returns:
the maximum size of the bean instances pool

getNbInstances

public java.lang.Integer getNbInstances()
MBean method for bean instances pool management.

Returns:
the current number of created bean instances

reducePoolToMinSize

public void reducePoolToMinSize()
MBean method for bean instances pool management. Allows reducing the number of instances.