@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface OnActivate
Annotation that designates a method to receive a callback when the SLEE reassigns the object to an existing persistent entity. This method represents an object transition from the Pooled state to the Ready state, and the object enters the Ready state after this method returns.
This callback method can be used, for example, to initialise additional transient state or acquire additional resources that the object needs while it is in the Ready state.
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.