org.ow2.jonas.ejb2.internal.mbean
Class SessionBean
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.ow2.jonas.lib.reconfig.ReconfigEmitter
org.ow2.jonas.lib.management.javaee.J2EEManagedObject
org.ow2.jonas.ejb2.internal.mbean.EJB
org.ow2.jonas.ejb2.internal.mbean.SessionBean
- All Implemented Interfaces:
- NotificationBroadcaster, NotificationEmitter
- Direct Known Subclasses:
- StatefulSessionBean, StatelessSessionBean
public class SessionBean
- extends EJB
This class implements the SessionBean type specified in JSR77
- Author:
- Adriana Danes
| Fields inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME |
| Fields inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
|
Constructor Summary |
SessionBean(String objectName,
org.ow2.jonas.lib.ejb21.JSessionFactory factoryToManage,
org.ow2.jonas.jmx.JmxService jmx)
|
| Methods inherited from class org.ow2.jonas.ejb2.internal.mbean.EJB |
getAllDataSourceName, getAllJdbcResourceAdapterName, getAllJMSConnectionFactoryName, getAllJMSDestinationName, getAllMailFactoryMName, getAllMailFactorySName, getAllURLs, getCacheSize, getDisplayName, getEjbClass, getFileName, getHomeClass, getJndiName, getLocalClass, getLocalHomeClass, getMaxCacheSize, getMinPoolSize, getName, getPoolSize, getRemoteClass, reduceCacheSize |
| Methods inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider |
| Methods inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
initLogger, sendReconfigNotification, sendSaveNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionBean
public SessionBean(String objectName,
org.ow2.jonas.lib.ejb21.JSessionFactory factoryToManage,
org.ow2.jonas.jmx.JmxService jmx)
- Parameters:
objectName - JMX object namefactoryToManage - JSessionFactory factory to manage
getSessionTimeOut
public int getSessionTimeOut()
- get the session time out for this session ejb
- Returns:
- integer session time out
setSessionTimeOut
public void setSessionTimeOut(int timeOut)
- set the session time out for this session bean
- Parameters:
timeOut - new session time out
Copyright © 2008 OW2 Consortium. All Rights Reserved.