Interface DirtyLifecycleListener

All Superinterfaces:
InstanceLifecycleListener

public interface DirtyLifecycleListener extends InstanceLifecycleListener
This interface is implemented by listeners to be notified of dirty events.
Since:
2.0
Version:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field.
    void
    Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field.
  • Method Details

    • preDirty

      void preDirty(InstanceLifecycleEvent event)
      Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called before the value is changed.
      Since:
      2.0
    • postDirty

      void postDirty(InstanceLifecycleEvent event)
      Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called after the value is changed.
      Since:
      2.0