Annotation Type PreDispose
-
@Retention(RUNTIME) @Target(METHOD) @Documented public @interface PreDispose
Annotation that designates a method to receive a callback when the SLEE no longer needs the object. This method represents a transition from the Pooled state to the Does Not Exist state and is the last method invoked on an object before it becomes a candidate for garbage collection.
This callback method is invoked with an unspecified transaction context. The object cannot access its persistent CMP state or invoke mandatory transactional methods during this method invocation.
- Since:
- Rhino 2.4.0