InstanceLifecycleListeners¶
-
public @interface
InstanceLifecycleListeners
¶ The
InstanceLifecycleListeners
annotation is used to point entities for which there may exist instance lifecycle listeners. The only valid case for using this option is when listeners are registered programmatically using theorg.motechproject.mds.service.JdoListenerRegistryService.registerListener(org.motechproject.mds.listener.MotechLifecycleListener)
service method. There is no need to bother with this annotation when listeners are registered withInstanceLifecycleListener
.See also:
org.motechproject.mds.annotations.internal.InstanceLifecycleListenersProcessor