JBoss API: Interface LocalContainerInvoker

org.jboss.ejb
Interface LocalContainerInvoker

All Superinterfaces:
ContainerPlugin, Service
All Known Implementing Classes:
BaseLocalContainerInvoker

public interface LocalContainerInvoker
extends ContainerPlugin

This is an extension to the ContainerInvoker interface. Although some implementations of the ContainerInvoker 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.

Author:
Daniel OConnor (docodan@mvcsoft.com)
See Also:
ContainerInvoker

Method Summary
 javax.ejb.EJBLocalHome getEJBLocalHome()
          This method is called whenever the EJBLocalHome implementation for this container is needed.
 javax.ejb.EJBLocalObject getEntityEJBLocalObject(java.lang.Object id)
          This method is called whenever an EJBLocalObject implementation for an entitybean is needed.
 java.util.Collection getEntityLocalCollection(java.util.Collection enum)
          This method is called whenever a collection of EJBLocalObjects for a collection of primary keys is needed.
 javax.ejb.EJBLocalObject getStatefulSessionEJBLocalObject(java.lang.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.ContainerPlugin
setContainer
 
Methods inherited from interface org.jboss.util.Service
destroy, init, start, stop
 

Method Detail

getEJBLocalHome

public javax.ejb.EJBLocalHome getEJBLocalHome()
This method is called whenever the EJBLocalHome implementation for this container is needed.
Returns:
an implementation of the local home interface for this container

getStatelessSessionEJBLocalObject

public javax.ejb.EJBLocalObject getStatelessSessionEJBLocalObject()
This method is called whenever an EJBLocalObject implementation for a stateless session bean is needed.
Returns:
an implementation of the local interface for this container

getStatefulSessionEJBLocalObject

public javax.ejb.EJBLocalObject getStatefulSessionEJBLocalObject(java.lang.Object id)
This method is called whenever an EJBLocalObject implementation for a stateful session bean is needed.
Parameters:
id - the id of the session
Returns:
an implementation of the local interface for this container

getEntityEJBLocalObject

public javax.ejb.EJBLocalObject getEntityEJBLocalObject(java.lang.Object id)
This method is called whenever an EJBLocalObject implementation for an entitybean is needed.
Parameters:
id - the primary key of the entity
Returns:
an implementation of the local interface for this container

getEntityLocalCollection

public java.util.Collection getEntityLocalCollection(java.util.Collection enum)
This method is called whenever a collection of EJBLocalObjects for a collection of primary keys is needed.
Parameters:
enum - enumeration of primary keys
Returns:
a collection of EJBLocalObjects implementing the remote interface for this container


Copyright 2000 The JBoss Organization. All Rights Reserved.