|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.jboss.ejb.Container
|
+--org.jboss.ejb.MessageDrivenContainer
MessageDrivenContainer, based on the StatelessSessionContainer.
StatelessSessionContainer| Field Summary | |
protected java.util.Map |
beanMapping
These are the mappings between the remote interface methods and the bean methods. |
protected ContainerInvoker |
containerInvoker
This is the container invoker for this container. |
protected InstancePool |
instancePool
This is the instancepool that is to be used. |
protected Interceptor |
interceptor
This is the first interceptor in the chain. |
| Fields inherited from class org.jboss.ejb.Container |
application, beanClass, classLoader, localClassLoader, localContainerInvoker, localHomeInterface, localInterface, lockManager, log, metaData, rm, securityProxy, sm, tm |
| Constructor Summary | |
MessageDrivenContainer()
|
|
| Method Summary | |
void |
addInterceptor(Interceptor in)
|
javax.ejb.EJBObject |
createHome()
|
void |
destroy()
A default implementation of destroying the container service (no-op). |
ContainerInvoker |
getContainerInvoker()
|
javax.ejb.EJBMetaData |
getEJBMetaDataHome()
|
java.lang.Class |
getHomeClass()
ContainerInvokerContainer - not needed, should we skip inherit this or just throw Error?? |
javax.ejb.HomeHandle |
getHomeHandleHome()
|
InstancePool |
getInstancePool()
|
Interceptor |
getInterceptor()
|
java.lang.Class |
getLocalClass()
|
LocalContainerInvoker |
getLocalContainerInvoker()
|
java.lang.Class |
getLocalHomeClass()
|
java.lang.Class |
getRemoteClass()
|
void |
init()
The ContainerFactory calls this method. |
java.lang.Object |
invoke(MethodInvocation 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 |
invokeHome(MethodInvocation mi)
This method is called by the ContainerInvoker when a method call comes in on the Home object. |
void |
removeHome(javax.ejb.Handle handle)
|
void |
removeHome(java.lang.Object primaryKey)
|
void |
setContainerInvoker(ContainerInvoker ci)
|
void |
setInstancePool(InstancePool ip)
|
protected void |
setupBeanMapping()
|
void |
start()
A default implementation of starting the container service (no-op). |
void |
stop()
A default implementation of stopping the container service (no-op). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Map beanMapping
protected ContainerInvoker containerInvoker
protected InstancePool instancePool
protected Interceptor interceptor
| Constructor Detail |
public MessageDrivenContainer()
| Method Detail |
public void setContainerInvoker(ContainerInvoker ci)
public ContainerInvoker getContainerInvoker()
getContainerInvoker in interface ContainerInvokerContainerpublic LocalContainerInvoker getLocalContainerInvoker()
getLocalContainerInvoker in interface ContainerInvokerContainerpublic void setInstancePool(InstancePool ip)
public InstancePool getInstancePool()
getInstancePool in interface InstancePoolContainerpublic void addInterceptor(Interceptor in)
addInterceptor in class Containerpublic Interceptor getInterceptor()
public java.lang.Class getHomeClass()
getHomeClass in interface ContainerInvokerContainerpublic java.lang.Class getRemoteClass()
getRemoteClass in interface ContainerInvokerContainerpublic java.lang.Class getLocalClass()
getLocalClass in interface ContainerInvokerContainergetLocalClass in class Containerpublic java.lang.Class getLocalHomeClass()
getLocalHomeClass in interface ContainerInvokerContainergetLocalHomeClass in class Container
public void init()
throws java.lang.Exception
Containerinit in class Containerorg.jboss.ejb.Containerjava.lang.Exception - if loading the bean class failed (ClassNotFoundException)
or setting up "java:" naming environment failed (DeploymentException)
public void start()
throws java.lang.Exception
Containerstart in class Containerorg.jboss.ejb.Containerjava.lang.Exception - an exception that occured during startpublic void stop()
Containerstop in class Containerpublic void destroy()
Containerdestroy in class Container
public java.lang.Object invokeHome(MethodInvocation mi)
throws java.lang.Exception
ContainerinvokeHome in class Containerorg.jboss.ejb.Containermi - the object holding all info about this invocationjava.lang.Exception -
public java.lang.Object invoke(MethodInvocation mi)
throws java.lang.Exception
invoke in class Containerorg.jboss.ejb.Containerid - the id of the object being invoked. May be null if statelessmethod - the method being invokedargs - the parametersjava.lang.Exception -
public javax.ejb.EJBObject createHome()
throws java.rmi.RemoteException,
javax.ejb.CreateException
public void removeHome(javax.ejb.Handle handle)
throws java.rmi.RemoteException,
javax.ejb.RemoveException
public void removeHome(java.lang.Object primaryKey)
throws java.rmi.RemoteException,
javax.ejb.RemoveException
public javax.ejb.EJBMetaData getEJBMetaDataHome()
throws java.rmi.RemoteException
public javax.ejb.HomeHandle getHomeHandleHome()
throws java.rmi.RemoteException
protected void setupBeanMapping()
throws java.lang.NoSuchMethodException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||