org.objectweb.jonas.container
Class SessionBean

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.objectweb.jonas.management.ReconfigDispatcher
          extended by org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
              extended by org.objectweb.jonas.container.EJB
                  extended by org.objectweb.jonas.container.SessionBean
All Implemented Interfaces:
javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean
Direct Known Subclasses:
StatefulSessionBean, StatelessSessionBean

public class SessionBean
extends EJB

This class implements the SessionBean type specified in JSR77

Author:
Adriana Danes

Field Summary
 
Fields inherited from class org.objectweb.jonas.container.EJB
desc, ejbToManage, fileName
 
Fields inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME
 
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
SessionBean(java.lang.String objectName, JSessionFactory factoryToManage)
           
 
Method Summary
 int getSessionTimeOut()
          get the session time out for this session ejb
 void setSessionTimeOut(int timeOut)
          set the session time out for this session bean
 
Methods inherited from class org.objectweb.jonas.container.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.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider
 
Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification
 
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
 

Constructor Detail

SessionBean

public SessionBean(java.lang.String objectName,
                   JSessionFactory factoryToManage)
Parameters:
objectName - JMX object name
factoryToManage - JSessionFactory factory to manage
Method Detail

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