|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.ejb.Container org.jboss.ejb.MessageDrivenContainer
The container for MessageDriven beans.
Nested Class Summary |
Nested classes inherited from class org.jboss.ejb.Container |
Container.AbstractContainerInterceptor |
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. |
protected long |
messageCount
|
Fields inherited from class org.jboss.ejb.Container |
BASE_EJB_CONTAINER_NAME, beanClass, classLoader, createCount, EJB_CONTAINER_QUERY_NAME, EJB_TIMEOUT, ejbModule, EJBOBJECT_REMOVE, homeInterface, invokeStats, jaccContextID, localClassLoader, localHomeInterface, localInterface, localProxyFactory, lockManager, marshalledInvocationMapping, metaData, ORB_NAME, proxyFactories, proxyFactoryTL, remoteInterface, removeCount, rm, securityProxy, sm, tm, webClassLoader |
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 |
Constructor Summary | |
MessageDrivenContainer()
|
Method Summary | |
void |
addInterceptor(Interceptor in)
|
javax.ejb.EJBObject |
createHome()
|
protected void |
createService()
The EJBDeployer calls this method. |
protected void |
destroyService()
A default implementation of destroying the container service (no-op). |
javax.ejb.EJBMetaData |
getEJBMetaDataHome()
|
Class |
getHomeClass()
EJBProxyFactoryContainer - not needed, should we skip inherit this or just throw Error?? |
javax.ejb.HomeHandle |
getHomeHandleHome()
|
InstancePool |
getInstancePool()
Get the instance pool for the container. |
Interceptor |
getInterceptor()
|
Class |
getLocalClass()
??? |
Class |
getLocalHomeClass()
??? |
LocalProxyFactory |
getLocalProxyFactory()
??? |
long |
getMessageCount()
|
Class |
getRemoteClass()
??? |
Object |
internalInvoke(Invocation mi)
This method does invocation interpositioning of tx and security, retrieves the instance from an object table, and invokes the method on the particular instance |
Object |
internalInvokeHome(Invocation mi)
This method is called when a method call comes in on the Home object. |
void |
removeHome(javax.ejb.Handle handle)
|
void |
removeHome(Object primaryKey)
|
void |
setInstancePool(InstancePool instancePool)
|
protected void |
startService()
A default implementation of starting the container service. |
protected void |
stopService()
A default implementation of stopping the container service (no-op). |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, 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, 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.ejb.EJBProxyFactoryContainer |
getProxyFactory |
Methods inherited from interface org.jboss.ejb.ContainerMBean |
getBeanMetaData, getCreateCount, getEjbModule, getEnvContext, getInvokeStats, getRemoveCount, getTimerService, invoke, removeTimerService |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Field Detail |
protected Map beanMapping
protected InstancePool instancePool
protected Interceptor interceptor
protected long messageCount
Constructor Detail |
public MessageDrivenContainer()
Method Detail |
public LocalProxyFactory getLocalProxyFactory()
EJBProxyFactoryContainer
getLocalProxyFactory
in interface EJBProxyFactoryContainer
public void setInstancePool(InstancePool instancePool)
public InstancePool getInstancePool()
InstancePoolContainer
getInstancePool
in interface InstancePoolContainer
public void addInterceptor(Interceptor in)
addInterceptor
in class Container
public Interceptor getInterceptor()
public long getMessageCount()
getMessageCount
in interface MessageDrivenContainerMBean
public Class getHomeClass()
getHomeClass
in interface EJBProxyFactoryContainer
getHomeClass
in class Container
public Class getRemoteClass()
EJBProxyFactoryContainer
getRemoteClass
in interface EJBProxyFactoryContainer
getRemoteClass
in class Container
public Class getLocalClass()
EJBProxyFactoryContainer
getLocalClass
in interface EJBProxyFactoryContainer
getLocalClass
in class Container
public Class getLocalHomeClass()
EJBProxyFactoryContainer
getLocalHomeClass
in interface EJBProxyFactoryContainer
getLocalHomeClass
in class Container
protected void createService() throws Exception
Container
createService
in class Container
Exception
- if loading the bean class failed
(ClassNotFoundException) or setting up "java:"
naming environment failed (DeploymentException)protected void startService() throws Exception
Container
startService
in class Container
Exception
- An exception that occured during startprotected void stopService() throws Exception
Container
stopService
in class Container
Exception
protected void destroyService() throws Exception
Container
destroyService
in class Container
Exception
public Object internalInvokeHome(Invocation mi) throws Exception
Container
internalInvokeHome
in class Container
public Object internalInvoke(Invocation mi) throws Exception
internalInvoke
in class Container
Exception
public javax.ejb.EJBObject createHome() throws RemoteException, javax.ejb.CreateException
RemoteException
javax.ejb.CreateException
public void removeHome(javax.ejb.Handle handle) throws RemoteException, javax.ejb.RemoveException
RemoteException
javax.ejb.RemoveException
public void removeHome(Object primaryKey) throws RemoteException, javax.ejb.RemoveException
RemoteException
javax.ejb.RemoveException
public javax.ejb.EJBMetaData getEJBMetaDataHome() throws RemoteException
RemoteException
public javax.ejb.HomeHandle getHomeHandleHome() throws RemoteException
RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |