Package 

Interface ObjectLifecycleChange.Listener


  • @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 void onLifecycleEvent(@NotNull() ObjectLifecycleEvent lifecycleEvent) Called when a lifecycle event occurs.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onLifecycleEvent

         abstract void onLifecycleEvent(@NotNull() ObjectLifecycleEvent lifecycleEvent)

        Called when a lifecycle event occurs.

        Parameters:
        lifecycleEvent - The lifecycle event that occurred