|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is an extension to the EJBProxyFactory interface. Although some implementations of the ProxyFactory interface may provide access to local interfaces, others (e.g. which provide remote distribution) will not. Good example: the JRMP delegates do not need to implement this interface.
EJBProxyFactory
Nested Class Summary |
Nested classes inherited from class org.jboss.ejb.GenericEntityObjectFactory |
GenericEntityObjectFactory.UTIL |
Field Summary |
Method Summary | |
javax.ejb.EJBLocalHome |
getEJBLocalHome()
This method is called whenever the EJBLocalHome implementation for this container is needed. |
javax.ejb.EJBLocalObject |
getEntityEJBLocalObject(Object id)
This method is called whenever an EJBLocalObject implementation for an entitybean is needed. |
javax.ejb.EJBLocalObject |
getEntityEJBLocalObject(Object id,
boolean create)
This method is called whenever a new EJBLocalObject should be created. |
Collection |
getEntityLocalCollection(Collection enum)
This method is called whenever a collection of EJBLocalObjects for a collection of primary keys is needed. |
javax.ejb.EJBLocalObject |
getStatefulSessionEJBLocalObject(Object id)
This method is called whenever an EJBLocalObject implementation for a stateful session bean is needed. |
javax.ejb.EJBLocalObject |
getStatelessSessionEJBLocalObject()
This method is called whenever an EJBLocalObject implementation for a stateless session bean is needed. |
Methods inherited from interface org.jboss.ejb.GenericEntityObjectFactory |
getEntityEJBObject |
Methods inherited from interface org.jboss.ejb.ContainerPlugin |
setContainer |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Method Detail |
public javax.ejb.EJBLocalHome getEJBLocalHome()
public javax.ejb.EJBLocalObject getStatelessSessionEJBLocalObject()
public javax.ejb.EJBLocalObject getStatefulSessionEJBLocalObject(Object id)
id
- the id of the session
public javax.ejb.EJBLocalObject getEntityEJBLocalObject(Object id)
id
- the primary key of the entity
public javax.ejb.EJBLocalObject getEntityEJBLocalObject(Object id, boolean create)
id
- the primary key of the entity
public Collection getEntityLocalCollection(Collection enum)
enum
- enumeration of primary keys
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |