Class SessionAssociationMarkers
java.lang.Object
org.hibernate.bytecode.enhance.spi.interceptor.SessionAssociationMarkers
Contains the state necessary to properly implement SessionAssociableInterceptor;
this allows reuse of this particular object across multiple interceptor instances
and keeps them from getting too allocation-intensive.
It also allows for a very elegant, simple way for the Session to clear references
to itself on close.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCareful as this mutates the state of this instance, which is possibly used by multiple managed entities.
-
Constructor Details
-
Method Details
-
deAssociatedCopy
-
sessionClosed
public void sessionClosed()Careful as this mutates the state of this instance, which is possibly used by multiple managed entities. Removes the reference to the session; useful on Session close.
-