-
@FunctionalInterface() public interface ObjectLifecycleChange.Listener
Interface for receiving notifications about Object lifecycle changes.
Implement this interface and register it with an ObjectLifecycleChange providerto be notified when lifecycle events occur, such as object creation or deletion.
-
-
Method Summary
Modifier and Type Method Description abstract voidonLifecycleEvent(@NotNull() ObjectLifecycleEvent lifecycleEvent)Called when a lifecycle event occurs. -
-
Method Detail
-
onLifecycleEvent
abstract void onLifecycleEvent(@NotNull() ObjectLifecycleEvent lifecycleEvent)
Called when a lifecycle event occurs.
- Parameters:
lifecycleEvent- The lifecycle event that occurred
-
-
-
-