org.jboss.management.j2ee
Class SessionBean

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.management.j2ee.J2EEManagedObject
          extended by org.jboss.management.j2ee.EJB
              extended by org.jboss.management.j2ee.SessionBean
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, EJBMBean, J2EEManagedObjectMBean, SessionBeanMBean, StatisticsProvider
Direct Known Subclasses:
StatefulSessionBean, StatelessSessionBean

public abstract class SessionBean
extends EJB
implements SessionBeanMBean

The JBoss JSR-77.30.13 implementation of the SessionBean model

Version:
$Revision: 1.6.6.4 $
Author:
Andreas Schaefer, Scott Stark, Thomas Diesler, Dimitris Andreadis

Field Summary
 
Fields inherited from class org.jboss.management.j2ee.EJB
ejbContainerName, ENTITY_BEAN, jndiName, localJndiName, MESSAGE_DRIVEN_BEAN, STATEFUL_SESSION_BEAN, STATELESS_SESSION_BEAN
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject
NAME, server, TYPE
 
Constructor Summary
SessionBean(String j2eeType, String name, javax.management.ObjectName ejbModuleName, javax.management.ObjectName ejbContainerName, String jndiName, String localJndiName)
          Create a SessionBean model
 
Method Summary
 
Methods inherited from class org.jboss.management.j2ee.EJB
create, destroy, getContainerCacheName, getContainerName, getContainerPoolName, getJndiName, getLocalJndiName, getParentKeys, getstats, resetStats, toString, updateCommonStats
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject
addChild, getLog, getNextNotificationSequenceNumber, getobjectName, getObjectName, getparent, getServer, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postDeregister, postRegister, preDeregister, preDestruction, preRegister, removeChild, removeObject, removeObject, sendNotification, setparent
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.management.j2ee.EJBMBean
getJndiName, getLocalJndiName
 
Methods inherited from interface org.jboss.management.j2ee.J2EEManagedObjectMBean
addChild, getobjectName, getparent, iseventProvider, isstateManageable, isstatisticsProvider, removeChild, setparent
 
Methods inherited from interface org.jboss.management.j2ee.statistics.StatisticsProvider
getstats, resetStats
 

Constructor Detail

SessionBean

public SessionBean(String j2eeType,
                   String name,
                   javax.management.ObjectName ejbModuleName,
                   javax.management.ObjectName ejbContainerName,
                   String jndiName,
                   String localJndiName)
            throws javax.management.MalformedObjectNameException,
                   InvalidParentException
Create a SessionBean model

Parameters:
j2eeType - the type of session bean
name - the ejb-name from the deployment
ejbModuleName - the JSR-77 EJBModule name for this bean
ejbContainerName - the JMX name of the JBoss ejb container MBean
jndiName - the jndi name of the remote home binding is one exists, null if there is no remote home.
localJndiName - the jndi name of the local home binding is one exists, null if there is no local home.
Throws:
javax.management.MalformedObjectNameException
InvalidParentException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.