Annotation Type PostLoad


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Documented
    public @interface PostLoad

    Annotation that designates a method to receive a callback when the state of the persistent entity needs to be synchronised with the state in the underlying data source. The SLEE invokes this method after the state has been synchronised. The object should reload from CMP fields any transient state that depends on the state stored in those CMP fields.

    This callback method is invoked with an active transaction context.

    Since:
    Rhino 2.4.0