Class EventListenerRegistrator

java.lang.Object
org.n52.janmayen.event.EventListenerRegistrator
All Implemented Interfaces:
Constructable, Destroyable

public class EventListenerRegistrator extends Object implements Constructable, Destroyable
Class used to decouple EventListener and EventBus creation.
Since:
1.0.0
See Also:
  • Constructor Details

    • EventListenerRegistrator

      public EventListenerRegistrator()
  • Method Details

    • setListeners

      @Inject public void setListeners(Collection<EventListener> listeners)
    • setServiceEventBus

      @Inject public void setServiceEventBus(EventBus serviceEventBus)
    • init

      public void init()
      Description copied from interface: Constructable
      Constructs this object.
      Specified by:
      init in interface Constructable
    • destroy

      public void destroy()
      Description copied from interface: Destroyable
      Destroys this object.
      Specified by:
      destroy in interface Destroyable