org.apache.beehive.controls.system.ejb
Class EntityEJBControlImpl

Object
  extended by EJBControlImpl
      extended by EntityEJBControlImpl
All Implemented Interfaces:
Serializable, Extensible, EJBControl, EntityEJBControl

public class EntityEJBControlImpl
extends EJBControlImpl
implements EntityEJBControl, Serializable

The EntityEJBControlImpl class is the control implementation class for Entity EJBs.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface EJBControl
EJBControl.EJBHome, EJBControl.JNDIContextEnv
 
Field Summary
 
Fields inherited from class EJBControlImpl
_beanHandle, _beanInstance, _beanInterface, _beanType, _context, _controlInterface, _homeInstance, _homeInterface, _jndiName, _lastException, ENTITY_BEAN, JNDI_APPSCOPED_PREFIX, JNDI_GLOBAL_PREFIX, SESSION_BEAN
 
Constructor Summary
EntityEJBControlImpl()
           
 
Method Summary
 Object getEJBNextBeanInstance()
          EntityEJBControl.getEJBNextBeanInstance()
 Object invoke(Method m, Object[] args)
          Extensible.invoke Handles all extended interface methods (i.e.
 void onCreate()
           
 void onReset()
           
protected  void releaseBeanInstance(boolean alreadyRemoved)
           
protected  Object resolveBeanInstance()
           
protected  boolean saveBeanInstance()
           
 
Methods inherited from class EJBControlImpl
beanNarrow, findEjbMethod, getEJBBeanInstance, getEJBException, getEJBHomeInstance, getInitialContext, hasEJBBeanInstance, homeNarrow, isControlBeanMethod, isCreateMethod, isFinderMethod, isHomeMethod, isRemoveMethod, isSelectorMethod, mapControlBeanMethodToEJB, methodThrows, onAcquire, onRelease, resolveBeanInstanceFromHandle
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface EJBControl
getEJBBeanInstance, getEJBException, getEJBHomeInstance, hasEJBBeanInstance
 

Constructor Detail

EntityEJBControlImpl

public EntityEJBControlImpl()
Method Detail

resolveBeanInstance

protected Object resolveBeanInstance()
Specified by:
resolveBeanInstance in class EJBControlImpl

saveBeanInstance

protected boolean saveBeanInstance()
Overrides:
saveBeanInstance in class EJBControlImpl

releaseBeanInstance

protected void releaseBeanInstance(boolean alreadyRemoved)
Overrides:
releaseBeanInstance in class EJBControlImpl

invoke

public Object invoke(Method m,
                     Object[] args)
              throws Throwable
Description copied from class: EJBControlImpl
Extensible.invoke Handles all extended interface methods (i.e. EJB home and remote interface invocation)

Specified by:
invoke in interface Extensible
Overrides:
invoke in class EJBControlImpl
Throws:
Throwable

getEJBNextBeanInstance

public Object getEJBNextBeanInstance()
EntityEJBControl.getEJBNextBeanInstance()

Specified by:
getEJBNextBeanInstance in interface EntityEJBControl
Returns:
The next bean instance if any remain; otherwise, null.

onCreate

public void onCreate()
Overrides:
onCreate in class EJBControlImpl

onReset

public void onReset()
Overrides:
onReset in class EJBControlImpl