|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.ejb.Container (src)
org.jboss.ejb.MessageDrivenContainer
The container for MessageDriven beans.
Nested Class Summary |
Nested classes inherited from class org.jboss.ejb.Container (src) |
Container.AbstractContainerInterceptor (src) |
Field Summary | |
protected java.util.Map |
beanMapping
These are the mappings between the remote interface methods and the bean methods. |
protected InstancePool (src) |
instancePool
This is the instancepool that is to be used. |
protected Interceptor (src) |
interceptor
This is the first interceptor in the chain. |
protected long |
messageCount
|
Fields inherited from class org.jboss.ejb.Container (src) |
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 (src) |
log, 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 | |
MessageDrivenContainer()
|
Method Summary | |
void |
addInterceptor(Interceptor (src) in)
|
EJBObject (src) |
createHome()
|
protected void |
createService()
The EJBDeployer calls this method. |
protected void |
destroyService()
A default implementation of destroying the container service (no-op). |
EJBMetaData (src) |
getEJBMetaDataHome()
|
java.lang.Class |
getHomeClass()
EJBProxyFactoryContainer - not needed, should we skip inherit this or just throw Error?? |
HomeHandle (src) |
getHomeHandleHome()
|
InstancePool (src) |
getInstancePool()
Get the instance pool for the container. |
Interceptor (src) |
getInterceptor()
|
java.lang.Class |
getLocalClass()
??? |
java.lang.Class |
getLocalHomeClass()
??? |
LocalProxyFactory (src) |
getLocalProxyFactory()
??? |
long |
getMessageCount()
|
java.lang.Class |
getRemoteClass()
??? |
java.lang.Object |
internalInvoke(Invocation (src) 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 |
java.lang.Object |
internalInvokeHome(Invocation (src) mi)
This method is called when a method call comes in on the Home object. |
void |
removeHome(Handle (src) handle)
|
void |
removeHome(java.lang.Object primaryKey)
|
void |
setInstancePool(InstancePool (src) 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 (src) |
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 (src) |
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 (src) |
getProxyFactory |
Field Detail |
protected java.util.Map beanMapping
protected InstancePool (src) instancePool
protected Interceptor (src) interceptor
protected long messageCount
Constructor Detail |
public MessageDrivenContainer()
Method Detail |
public LocalProxyFactory (src) getLocalProxyFactory()
EJBProxyFactoryContainer (src)
getLocalProxyFactory
in interface EJBProxyFactoryContainer (src)
public void setInstancePool(InstancePool (src) instancePool)
public InstancePool (src) getInstancePool()
InstancePoolContainer (src)
getInstancePool
in interface InstancePoolContainer (src)
public void addInterceptor(Interceptor (src) in)
addInterceptor
in class Container (src)
public Interceptor (src) getInterceptor()
public long getMessageCount()
public java.lang.Class getHomeClass()
getHomeClass
in interface EJBProxyFactoryContainer (src)
getHomeClass
in class Container (src)
public java.lang.Class getRemoteClass()
EJBProxyFactoryContainer (src)
getRemoteClass
in interface EJBProxyFactoryContainer (src)
getRemoteClass
in class Container (src)
public java.lang.Class getLocalClass()
EJBProxyFactoryContainer (src)
getLocalClass
in interface EJBProxyFactoryContainer (src)
getLocalClass
in class Container (src)
public java.lang.Class getLocalHomeClass()
EJBProxyFactoryContainer (src)
getLocalHomeClass
in interface EJBProxyFactoryContainer (src)
getLocalHomeClass
in class Container (src)
protected void createService() throws java.lang.Exception
Container (src)
createService
in class Container (src)
java.lang.Exception
- if loading the bean class failed
(ClassNotFoundException) or setting up "java:"
naming environment failed (DeploymentException)protected void startService() throws java.lang.Exception
Container (src)
startService
in class Container (src)
java.lang.Exception
- An exception that occured during startprotected void stopService() throws java.lang.Exception
Container (src)
stopService
in class Container (src)
java.lang.Exception
protected void destroyService() throws java.lang.Exception
Container (src)
destroyService
in class Container (src)
java.lang.Exception
public java.lang.Object internalInvokeHome(Invocation (src) mi) throws java.lang.Exception
Container (src)
internalInvokeHome
in class Container (src)
mi
- the object holding all info about this invocation
java.lang.Error
- Not valid for MDB
java.lang.Exception
public java.lang.Object internalInvoke(Invocation (src) mi) throws java.lang.Exception
internalInvoke
in class Container (src)
java.lang.Exception
public EJBObject (src) createHome() throws java.rmi.RemoteException, CreateException (src)
java.rmi.RemoteException
CreateException (src)
public void removeHome(Handle (src) handle) throws java.rmi.RemoteException, RemoveException (src)
java.rmi.RemoteException
RemoveException (src)
public void removeHome(java.lang.Object primaryKey) throws java.rmi.RemoteException, RemoveException (src)
java.rmi.RemoteException
RemoveException (src)
public EJBMetaData (src) getEJBMetaDataHome() throws java.rmi.RemoteException
java.rmi.RemoteException
public HomeHandle (src) getHomeHandleHome() throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |