java.lang.Object
com.github.jonasrutishauser.transactional.event.api.handler.AbstractHandler<T>
All Implemented Interfaces:
Handler

public abstract class AbstractHandler<T> extends Object implements Handler
  • Constructor Details

    • AbstractHandler

      public AbstractHandler()
  • Method Details

    • setDeserializer

      @Inject protected void setDeserializer(EventDeserializer<T> deserializer)
    • handle

      public void handle(String event)
      Specified by:
      handle in interface Handler
    • handle

      protected abstract void handle(T event)