org.jboss.management.j2ee
Class StatelessSessionBean

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.management.j2ee.J2EEManagedObject (src) 
              extended byorg.jboss.management.j2ee.EJB (src) 
                  extended byorg.jboss.management.j2ee.SessionBean (src) 
                      extended byorg.jboss.management.j2ee.StatelessSessionBean
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class StatelessSessionBean
extends SessionBean (src)

The JBoss JSR-77.3.15 implementation of the StatelessSessionBean model


Field Summary
 
Fields inherited from class org.jboss.management.j2ee.EJB (src)
ejbContainerName, ENTITY_BEAN, MESSAGE_DRIVEN_BEAN, STATEFUL_SESSION_BEAN, STATELESS_SESSION_BEAN
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
NAME, TYPE
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
StatelessSessionBean(java.lang.String name, ObjectName (src)  ejbModuleName, ObjectName (src)  ejbContainerName)
          Create a StatelessSessionBean model
 
Method Summary
 Stats (src) getstats()
          Obtain the Stats from the StatisticsProvider.
 void resetStats()
          Reset all statistics in the StatisticsProvider
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.management.j2ee.EJB (src)
create, destroy, getContainerCacheName, getContainerName, getContainerPoolName, getParentKeys, updateCommonStats
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
addChild, getobjectName, getObjectName, getObjectName, getparent, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postRegister, preDeregister, preDestruction, removeChild, removeObject, removeObject, sendNotification, setparent
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, preRegister, start, startService, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatelessSessionBean

public StatelessSessionBean(java.lang.String name,
                            ObjectName (src)  ejbModuleName,
                            ObjectName (src)  ejbContainerName)
                     throws MalformedObjectNameException (src) ,
                            InvalidParentException (src) 
Create a StatelessSessionBean model

Parameters:
name - the ejb name, currently the JNDI name
ejbModuleName - the JSR-77 EJBModule name for this bean
ejbContainerName - the JMX name of the JBoss ejb container MBean
Throws:
MalformedObjectNameException (src)
InvalidParentException (src)
Method Detail

getstats

public Stats (src)  getstats()
Description copied from class: EJB (src)
Obtain the Stats from the StatisticsProvider.

Specified by:
getstats in class EJB (src)
Returns:
An EJBStats subclass

resetStats

public void resetStats()
Description copied from class: EJB (src)
Reset all statistics in the StatisticsProvider

Specified by:
resetStats in class EJB (src)

toString

public java.lang.String toString()
Overrides:
toString in class EJB (src)