java.lang.Object
it.rebirthproject.ufoeb.dto.registrations.Registration
Direct Known Subclasses:
RegistrationMethodHandler, RegistrationStandardReflection

public abstract class Registration extends Object
Interface representing a registration.
  • Field Details

    • listener

      protected Object listener
      The listener of the Registration
    • priority

      protected int priority
      The priority of the Registration
    • method

      protected Method method
      The callback method to invoke when a new notification for the listener needs to be delivered
  • Constructor Details

    • Registration

      public Registration()
  • Method Details

    • process

      public abstract void process(Object event) throws Exception
      Method to process a registration
      Parameters:
      event - the event to process
      Throws:
      Exception
    • getListener

      public Object getListener()
      Getter for the listener of the Registration
      Returns:
      The listener of the Registration
    • getPriority

      public int getPriority()
      Getter for the priority of the Registration
      Returns:
      The priority of the Registration
    • getMethod

      public Method getMethod()
      Getter for method to invoke when a new notification for the listener needs to be delivered
      Returns:
      The method to invoke when a new notification for the listener needs to be delivered