Interface OnCreateListener<T>

Type Parameters:
T - The type of the object managed by the Active Object context.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OnCreateListener<T>
Interface for listeners that are interested in object creation events within an Active Object context.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method to be called when a new object is created within an Active Object context.
  • Method Details

    • onObjectCreate

      void onObjectCreate(ActiveObjectContext<T> context)
      Method to be called when a new object is created within an Active Object context.
      Parameters:
      context - The ActiveObjectContext associated with the newly created object.