Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » [javadoc | source]
org.jboss.ejb
public class: MessageDrivenContainer [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.ejb.Container
            org.jboss.ejb.MessageDrivenContainer

All Implemented Interfaces:
    InstancePoolContainer, MessageDrivenContainerMBean, EJBProxyFactoryContainer, ContainerMBean, AllowedOperationsFlags, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

The container for MessageDriven beans.
Nested Class Summary:
class  MessageDrivenContainer.ContainerInterceptor  This is the last step before invocation - all interceptors are done 
Field Summary
protected  Map beanMapping    These are the mappings between the remote interface methods and the bean methods. 
protected  InstancePool instancePool    This is the instancepool that is to be used. 
protected  Interceptor interceptor    This is the first interceptor in the chain. The last interceptor must be provided by the container itself. 
protected  long messageCount     
Fields inherited from org.jboss.ejb.Container:
BASE_EJB_CONTAINER_NAME,  ORB_NAME,  EJB_CONTAINER_QUERY_NAME,  EJBOBJECT_REMOVE,  EJB_TIMEOUT,  ejbModule,  classLoader,  webClassLoader,  metaData,  beanClass,  homeInterface,  remoteInterface,  localHomeInterface,  localInterface,  tm,  securityContextClassName,  defaultSecurityDomain,  securityManagement,  policyRegistration,  sm,  rm,  securityProxy,  lockManager,  localProxyFactory,  marshalledInvocationMapping,  proxyFactories,  proxyFactoryTL,  createCount,  removeCount,  invokeStats,  jaccContextID,  isJaccEnabled,  timerService
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Method from org.jboss.ejb.MessageDrivenContainer Summary:
addInterceptor,   createContainerInterceptor,   createHome,   createService,   destroyService,   getEJBMetaDataHome,   getHomeClass,   getHomeHandleHome,   getInstancePool,   getInterceptor,   getLocalClass,   getLocalHomeClass,   getLocalProxyFactory,   getMessageCount,   getRemoteClass,   internalInvoke,   internalInvokeHome,   removeHome,   removeHome,   setInstancePool,   startService,   stopService
Methods from org.jboss.ejb.Container:
addInterceptor,   addProxyFactory,   cleanENC,   createBeanClassInstance,   createContainerInterceptor,   createService,   destroyService,   getBeanClass,   getBeanMetaData,   getClassLoader,   getCreateCount,   getDefaultSecurityDomain,   getDeploymentInfo,   getDeploymentUnit,   getEjbModule,   getEnvContext,   getHomeClass,   getInvokeStats,   getJaccContextID,   getJmxName,   getLocalClass,   getLocalHomeClass,   getLockManager,   getMessageDestination,   getMethodPermissions,   getPolicyRegistration,   getProxyFactory,   getRealmMapping,   getRemoteClass,   getRemoveCount,   getSecurityContextClassName,   getSecurityManagement,   getSecurityManager,   getSecurityProxy,   getTimerService,   getTimerService,   getTransactionManager,   getWebClassLoader,   internalInvoke,   internalInvokeHome,   invoke,   isCallByValue,   isJaccEnabled,   lookupProxyFactory,   popENC,   pushENC,   removeTimerService,   restoreTimers,   setBeanMetaData,   setClassLoader,   setDefaultSecurityDomain,   setDeploymentInfo,   setDeploymentUnit,   setEjbModule,   setJaccContextID,   setJaccEnabled,   setLockManager,   setPolicyRegistration,   setProxyFactory,   setRealmMapping,   setSecurityContextClassName,   setSecurityManagement,   setSecurityManager,   setSecurityProxy,   setTimerService,   setTransactionManager,   setWebClassLoader,   startService,   stopService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.MessageDrivenContainer Detail:
 public  void addInterceptor(Interceptor in) 
 Interceptor createContainerInterceptor() 
 public EJBObject createHome() throws CreateException, RemoteException 
 protected  void createService() throws Exception 
 protected  void destroyService() throws Exception 
 public EJBMetaData getEJBMetaDataHome() throws RemoteException 
 public Class getHomeClass() 
    EJBProxyFactoryContainer - not needed, should we skip inherit this or just throw Error??
 public HomeHandle getHomeHandleHome() throws RemoteException 
 public InstancePool getInstancePool() 
 public Interceptor getInterceptor() 
 public Class getLocalClass() 
 public Class getLocalHomeClass() 
 public LocalProxyFactory getLocalProxyFactory() 
 public long getMessageCount() 
 public Class getRemoteClass() 
 public Object internalInvoke(Invocation mi) throws Exception 
    This method does invocation interpositioning of tx and security, retrieves the instance from an object table, and invokes the method on the particular instance
 public Object internalInvokeHome(Invocation mi) throws Exception 
 public  void removeHome(Handle handle) throws RemoteException, RemoveException 
 public  void removeHome(Object primaryKey) throws RemoteException, RemoveException 
 public  void setInstancePool(InstancePool instancePool) 
 protected  void startService() throws Exception 
 protected  void stopService() throws Exception