org.jboss.ejb3.mdb
Class MessageDrivenManager
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb3.mdb.MessageDrivenManager
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, Container, EjbManagerMBean, MessageDrivenManagerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
public class MessageDrivenManager
- extends org.jboss.system.ServiceMBeanSupport
- implements MessageDrivenManagerMBean, Container
Comment
- Version:
- $Revision: 1.12.2.4 $
- Author:
- Bill Burke
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| 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, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
container
protected MDB container
jaccContextId
protected String jaccContextId
MessageDrivenManager
public MessageDrivenManager(MDB mdb,
String jaccContextId)
getInstance
public Container getInstance()
- Specified by:
getInstance in interface EjbManagerMBean
getEnc
public Context getEnc()
- Specified by:
getEnc in interface Container
getInitialContext
public InitialContext getInitialContext()
- Specified by:
getInitialContext in interface Container
getInitialContextProperties
public Hashtable getInitialContextProperties()
- Specified by:
getInitialContextProperties in interface Container
getEjbLinkResolver
public EjbLinkResolver getEjbLinkResolver()
- Specified by:
getEjbLinkResolver in interface Container
setEjbLinkResolver
public void setEjbLinkResolver(EjbLinkResolver ejbLinkResolver)
- Specified by:
setEjbLinkResolver in interface Container
getManagedEntityManagerFactory
public ManagedEntityManagerFactory getManagedEntityManagerFactory()
- Specified by:
getManagedEntityManagerFactory in interface Container
setManagedEntityManagerFactory
public void setManagedEntityManagerFactory(ManagedEntityManagerFactory factory)
- Specified by:
setManagedEntityManagerFactory in interface Container
getMDB
public MDB getMDB()
createService
public void createService()
throws Exception
- Overrides:
createService in class org.jboss.system.ServiceMBeanSupport
- Throws:
Exception
startService
public void startService()
throws Exception
- Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
- Throws:
Exception
stopService
public void stopService()
throws Exception
- Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport
- Throws:
Exception
destroyService
public void destroyService()
throws Exception
- Overrides:
destroyService in class org.jboss.system.ServiceMBeanSupport
- Throws:
Exception
getBeanClass
public Class getBeanClass()
- Specified by:
getBeanClass in interface Container
getEjbName
public String getEjbName()
- Specified by:
getEjbName in interface Container
getObjectName
public javax.management.ObjectName getObjectName()
- Specified by:
getObjectName in interface Container
getTimerService
public javax.ejb.TimerService getTimerService()
- Specified by:
getTimerService in interface Container
getPool
public Pool getPool()
- Specified by:
getPool in interface Container
invokePostConstruct
public void invokePostConstruct(Object bean)
- Specified by:
invokePostConstruct in interface Container
invokePreDestroy
public void invokePreDestroy(Object bean)
- Specified by:
invokePreDestroy in interface Container
invokePostActivate
public void invokePostActivate(Object bean)
- Specified by:
invokePostActivate in interface Container
invokePrePassivate
public void invokePrePassivate(Object bean)
- Specified by:
invokePrePassivate in interface Container
invokeInit
public void invokeInit(Object bean)
- Specified by:
invokeInit in interface Container
invokeInit
public void invokeInit(Object bean,
Class[] initParameterTypes,
Object[] initParameterValues)
- Specified by:
invokeInit in interface Container
construct
public Object construct()
- Specified by:
construct in interface Container
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.