Package com.sun.ejb.containers
Class EJBContainerStateManager
- java.lang.Object
-
- com.sun.ejb.containers.EJBContainerStateManager
-
public class EJBContainerStateManager extends Object
- Author:
- mvatkina
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachObject(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)booleanisRemovedEJBObject(EjbInvocation inv)voidmarkObjectRemoved(EJBContextImpl context, boolean removed)Mark EJB Object associated with this Context as removed or not
-
-
-
Method Detail
-
isNullEJBObject
public boolean isNullEJBObject(EJBContextImpl context)
-
isNullEJBLocalObject
public boolean isNullEJBLocalObject(EJBContextImpl context)
-
isRemovedEJBObject
public boolean isRemovedEJBObject(EjbInvocation inv)
-
isRemovedEJBObject
public boolean isRemovedEJBObject(EJBContextImpl context)
-
isRemovedEJBLocalObject
public boolean isRemovedEJBLocalObject(EJBContextImpl context)
-
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
public void markObjectRemoved(EJBContextImpl context, boolean removed)
Mark EJB Object associated with this Context as removed or not
-
disconnectContext
public void disconnectContext(EJBContextImpl context)
Disconnect context from EJB(Local)Object so that context.getEJBObject() will throw exception.
-
clearContext
public void clearContext(EJBContextImpl context)
Clear EJB Object references in the context
-
-