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

Object
  extended by EJBControlImpl
      extended by SessionEJBControlImpl
All Implemented Interfaces:
Serializable, Extensible, EJBControl, SessionEJBControl

public class SessionEJBControlImpl
extends EJBControlImpl
implements SessionEJBControl, Serializable

The SessionEJBControlImpl class is the control implementation class for Stateless/Stateful Session EJBs.

Currently, this is a noop since no session-bean specific control APIs are defined, but having a unique control interface/impl class still allows JellyBeans to create two different control types.

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
SessionEJBControlImpl()
           
 
Method Summary
 void onCreate()
          Override ejbControl.onCreate to perform additional processing
protected  void releaseBeanInstance(boolean alreadyRemoved)
           
protected  Object resolveBeanInstance()
          Implements auto-create semantics for Session beans.
 
Methods inherited from class EJBControlImpl
beanNarrow, findEjbMethod, getEJBBeanInstance, getEJBException, getEJBHomeInstance, getInitialContext, hasEJBBeanInstance, homeNarrow, invoke, isControlBeanMethod, isCreateMethod, isFinderMethod, isHomeMethod, isRemoveMethod, isSelectorMethod, mapControlBeanMethodToEJB, methodThrows, onAcquire, onRelease, onReset, resolveBeanInstanceFromHandle, saveBeanInstance
 
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

SessionEJBControlImpl

public SessionEJBControlImpl()
Method Detail

onCreate

public void onCreate()
Override ejbControl.onCreate to perform additional processing

Overrides:
onCreate in class EJBControlImpl

resolveBeanInstance

protected Object resolveBeanInstance()
Implements auto-create semantics for Session beans.

Specified by:
resolveBeanInstance in class EJBControlImpl

releaseBeanInstance

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