InstanceLifecycleListenerType¶
-
public enum
InstanceLifecycleListenerType
¶ The
InstanceLifecycleListenerType
enum represents persistence event types.See also:
org.motechproject.mds.annotations.InstanceLifecycleListener
Enum Constants¶
POST_CREATE¶
-
public static final InstanceLifecycleListenerType
POST_CREATE
¶ Represents a point in time, right after an instance is made persistent.
POST_DELETE¶
-
public static final InstanceLifecycleListenerType
POST_DELETE
¶ Represents a point in time, right after an instance is deleted.
POST_LOAD¶
-
public static final InstanceLifecycleListenerType
POST_LOAD
¶ Represents a point in time, right after loading instance from datastore.
POST_STORE¶
-
public static final InstanceLifecycleListenerType
POST_STORE
¶ Represents a point in time, right after an instance is stored (eg. due to commit or flush)
PRE_DELETE¶
-
public static final InstanceLifecycleListenerType
PRE_DELETE
¶ Represents a point in time, right before an instance is deleted.
PRE_STORE¶
-
public static final InstanceLifecycleListenerType
PRE_STORE
¶ Represents a point in time, right before an instance is stored (eg. due to commit or flush)