Package com.sun.ejb.containers
Class EJBContainerStateManager
java.lang.Object
com.sun.ejb.containers.EJBContainerStateManager
- Author:
- mvatkina
-
Method Summary
Modifier and TypeMethodDescriptionvoidattachObject(EjbInvocation inv, EJBContextImpl context, EJBObjectImpl ejbObjImpl, EJBLocalObjectImpl localObjImpl) Associate EJB Object with this invocation and this Context Note that some of the calls do not have Context assosiated with this invocation, so Context object is passed in separatelyvoidclearContext(EJBContextImpl context) Clear EJB Object references in the contextvoiddisconnectContext(EJBContextImpl context) Disconnect context from EJB(Local)Object so that context.getEJBObject() will throw exception.booleanisNullEJBLocalObject(EJBContextImpl context) booleanisNullEJBObject(EJBContextImpl context) booleanisRemovedEJBLocalObject(EJBContextImpl context) booleanisRemovedEJBObject(EJBContextImpl context) booleanvoidmarkObjectRemoved(EJBContextImpl context, boolean removed) Mark EJB Object associated with this Context as removed or not
-
Method Details
-
isNullEJBObject
-
isNullEJBLocalObject
-
isRemovedEJBObject
-
isRemovedEJBObject
-
isRemovedEJBLocalObject
-
attachObject
public void attachObject(EjbInvocation inv, EJBContextImpl context, EJBObjectImpl ejbObjImpl, EJBLocalObjectImpl localObjImpl) Associate EJB Object with this invocation and this Context Note that some of the calls do not have Context assosiated with this invocation, so Context object is passed in separately -
markObjectRemoved
Mark EJB Object associated with this Context as removed or not -
disconnectContext
Disconnect context from EJB(Local)Object so that context.getEJBObject() will throw exception. -
clearContext
Clear EJB Object references in the context
-