org.objectweb.jonas.container
Class StatelessSessionBean
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.ReconfigDispatcher
org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
org.objectweb.jonas.container.EJB
org.objectweb.jonas.container.SessionBean
org.objectweb.jonas.container.StatelessSessionBean
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean
- public class StatelessSessionBean
- extends SessionBean
This class implements the StatelessSessionBean type specified in JSR77
- Author:
- Adriana Danes
Methods inherited from class org.objectweb.jonas.container.EJB |
getAllDataSourceName, getAllJMSConnectionFactoryName, getAllJMSDestinationName, getAllMailFactoryMName, getAllMailFactorySName, getAllURLs, getCurrentInstancePoolSize, getDisplayName, getEjbClass, getFileName, getHomeClass, getJndiName, getLocalClass, getLocalHomeClass, getName, getRemoteClass |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
handleNotification, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatelessSessionBean
public StatelessSessionBean(java.lang.String objectName,
JStatelessFactory factoryToManage)
- Parameters:
objectName
- JMX object namefactoryToManage
- JStatelessFactory factory to manage
getMinPoolSize
public int getMinPoolSize()
- Accessor for bean instances pool management.
- Returns:
- the minimum size of the bean instances pool.
getMaxPoolSize
public int getMaxPoolSize()
- Accessor for bean instances pool management.
- Returns:
- the maximum size of the bean instances pool
getNbInstances
public int getNbInstances()
- Accessor for bean instances pool management.
- Returns:
- the current number of created bean instances
reducePoolToMinSize
public void reducePoolToMinSize()
- Operation for bean instances pool management.
Allows reducing the number of instances.