|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is an interface for Container plugins. Implementations of this interface are responsible for receiving remote invocations of EJB's and to forward these requests to the Container it is being used with.
It is responsible for providing any EJBObject and EJBHome implementations (which may be statically or dynamically created).
Before forwarding a call to the container it must call Thread.setContextClassLoader() with the classloader of the container. It must also handle any propagated transaction and security contexts properly. It may acquire the TransactionManager from JNDI.
Container
(src) Nested Class Summary |
Nested classes inherited from class org.jboss.ejb.GenericEntityObjectFactory (src) |
GenericEntityObjectFactory.UTIL (src) |
Field Summary |
Method Summary | |
java.lang.Object |
getEJBHome()
This method is called whenever the EJBHome implementation for this container is needed. |
EJBMetaData (src) |
getEJBMetaData()
This method is called whenever the metadata for this container is needed. |
java.util.Collection |
getEntityCollection(java.util.Collection en)
This method is called whenever a collection of EJBObjects for a collection of primary keys is needed. |
java.lang.Object |
getEntityEJBObject(java.lang.Object id)
This method is called whenever an EJBObject implementation for an entitybean is needed. |
java.lang.Object |
getStatefulSessionEJBObject(java.lang.Object id)
This method is called whenever an EJBObject implementation for a stateful session bean is needed. |
java.lang.Object |
getStatelessSessionEJBObject()
This method is called whenever an EJBObject implementation for a stateless session bean is needed. |
boolean |
isIdentical(Container (src) container,
Invocation (src) mi)
Protocol specific isIdentical implementation |
void |
setInvokerBinding(java.lang.String binding)
Set the invoker jndi binding |
void |
setInvokerMetaData(InvokerProxyBindingMetaData (src) imd)
Set the invoker meta data so that the ProxyFactory can initialize properly |
Methods inherited from interface org.jboss.ejb.ContainerPlugin (src) |
setContainer |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Method Detail |
public void setInvokerMetaData(InvokerProxyBindingMetaData (src) imd)
public void setInvokerBinding(java.lang.String binding)
public boolean isIdentical(Container (src) container, Invocation (src) mi)
container
- the containermi
- the invocation
public EJBMetaData (src) getEJBMetaData()
public java.lang.Object getEJBHome()
public java.lang.Object getStatelessSessionEJBObject()
public java.lang.Object getStatefulSessionEJBObject(java.lang.Object id)
id
- The id of the session.
public java.lang.Object getEntityEJBObject(java.lang.Object id)
getEntityEJBObject
in interface GenericEntityObjectFactory (src)
id
- The primary key of the entity.
public java.util.Collection getEntityCollection(java.util.Collection en)
en
- Enumeration of primary keys.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |