Annotation Type PreStore


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

    Annotation that designates a method to receive a callback when state the underlying data source needs to be synchronised with the state of the persistent entity. The SLEE invokes this method before the state is synchronised. The object should store into 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