org.controlhaus.ejb
Interface EntityEJBControl

All Superinterfaces:
EJBControl

public interface EntityEJBControl
extends EJBControl

As part of the EJB control, this interface simplifies access to entity Enterprise JavaBeans (EJBs). You do not need to call methods of this interface.

The EJB control is actually made up of two main interfaces, one for access to entity EJBs and another for access to session EJBs. The presence of these two interfaces is invisible when you use the EJB control; their methods are called behind the scenes.

Typically, you use the EJB control by adding the control to a component design (such as a web service or pageflow design), then calling the methods it provides. Those methods are not exposed by these control interfaces, but rather are extensions of the EJB itself that are generated when you add the EJB control.

For more information about using the EJB control, see EJB Control.


Nested Class Summary
 
Nested classes/interfaces inherited from interface EJBControl
EJBControl.EJBHome, EJBControl.JNDIContextEnv
 
Method Summary
 Object getEJBNextBeanInstance()
          Supports iteration through a Collection of entity bean instances returned by a multi-select finder method.
 
Methods inherited from interface EJBControl
getEJBBeanInstance, getEJBException, getEJBHomeInstance, hasEJBBeanInstance
 

Method Detail

getEJBNextBeanInstance

Object getEJBNextBeanInstance()
Supports iteration through a Collection of entity bean instances returned by a multi-select finder method. This method selects the next bean instance in the collection as the internal control instance, and returns the bean instance. The method will return null if no additional instances remain to be processed.

Returns:
The next bean instance if any remain; otherwise, null.