Module it.rebirthproject.ufoeb
Class RegistrationMethodHandler
java.lang.Object
it.rebirthproject.ufoeb.dto.registrations.Registration
it.rebirthproject.ufoeb.dto.registrations.RegistrationMethodHandler
DTO Representing all the data of a listener to register in the system.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HandlerThe handler method to invoke when a new notification for the listener needs to be delivered.Fields inherited from class it.rebirthproject.ufoeb.dto.registrations.Registration
listener, method, priority -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for methodHandler to invoke when a new notification for the listener needs to be deliveredvoidMethod to process a registrationMethods inherited from class it.rebirthproject.ufoeb.dto.registrations.Registration
getListener, getMethod, getPriority
-
Field Details
-
methodHandler
The handler method to invoke when a new notification for the listener needs to be delivered. This should be faster.
-
-
Constructor Details
-
RegistrationMethodHandler
- Parameters:
listener- The listener of theRegistrationmethod- The callback method to invoke when a new notification for the listener needs to be deliveredpriority- The priority of theRegistration- Throws:
Throwable
-
-
Method Details
-
getMethodHandler
Getter for methodHandler to invoke when a new notification for the listener needs to be delivered- Returns:
- The methodHandler to invoke when a new notification for the listener needs to be delivered
-
process
Description copied from class:RegistrationMethod to process a registration- Specified by:
processin classRegistration- Parameters:
event- the event to process- Throws:
Exception
-