java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.observer.AbstractActionEvent<A,SRC>
org.refcodes.observer.AbstractMetaDataActionEvent<Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>
org.refcodes.eventbus.ext.application.ApplicationBusEvent
org.refcodes.eventbus.ext.application.DestroyBusEvent
All Implemented Interfaces:
org.refcodes.component.ext.observer.ComponentEvent<Enum<?>,ApplicationBus>, org.refcodes.component.ext.observer.DestroyRequestedEvent<ApplicationBus>, org.refcodes.component.ext.observer.LifecycleEvent<Enum<?>,ApplicationBus>, org.refcodes.component.ext.observer.LifecycleRequestEvent<ApplicationBus>, org.refcodes.eventbus.EventBrokerEvent<ApplicationBus>, org.refcodes.eventbus.EventDispatcherEvent<Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>, LifecycleBusEvent, org.refcodes.mixin.ActionAccessor<Enum<?>>, org.refcodes.mixin.MetaDataAccessor<org.refcodes.observer.EventMetaData>, org.refcodes.mixin.SourceAccessor<ApplicationBus>, org.refcodes.observer.ActionEvent<Enum<?>,ApplicationBus>, org.refcodes.observer.Event<ApplicationBus>, org.refcodes.observer.MetaDataActionEvent<Enum<?>,org.refcodes.observer.EventMetaData,ApplicationBus>, org.refcodes.observer.MetaDataEvent<org.refcodes.observer.EventMetaData,ApplicationBus>

public class DestroyBusEvent extends ApplicationBusEvent implements LifecycleBusEvent, org.refcodes.component.ext.observer.DestroyRequestedEvent<ApplicationBus>
Implementation of the LifecycleBusEvent for LifecycleRequest.DESTROY.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Builder to build DestroyBusEvent.

    Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor

    org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.eventbus.EventDispatcherEvent

    org.refcodes.eventbus.EventDispatcherEvent.EventDispatcherEventBuilder<A extends Object,META extends org.refcodes.observer.EventMetaData,SRC extends org.refcodes.eventbus.EventDispatcher<?,?,?,?,?>,B extends org.refcodes.eventbus.EventDispatcherEvent.EventDispatcherEventBuilder<A,META,SRC,B>>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.MetaDataAccessor

    org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD extends Object,B extends org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD,B>>, org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<MD extends Object>, org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<MD extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

    org.refcodes.mixin.SourceAccessor.SourceBuilder<SRC extends Object,B extends org.refcodes.mixin.SourceAccessor.SourceBuilder<SRC,B>>, org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object>
  • Field Summary

    Fields inherited from class org.refcodes.observer.AbstractMetaDataActionEvent

    _eventMetaData

    Fields inherited from class org.refcodes.observer.AbstractActionEvent

    _action
  • Constructor Summary

    Constructors
    Constructor
    Description
    DestroyBusEvent(Class<?> aPublisherType, ApplicationBus aSource)
    Instantiates a new destroy event.
    DestroyBusEvent(String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
    Instantiates a new destroy event.
    DestroyBusEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
    Instantiates a new destroy event.
    Instantiates a new destroy event.
    Instantiates a new destroy event.
    DestroyBusEvent(org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
    Instantiates a new destroy event.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates builder to build DestroyBusEvent.
    org.refcodes.component.LifecycleRequest

    Methods inherited from class org.refcodes.observer.AbstractMetaDataActionEvent

    getMetaData, toString

    Methods inherited from class org.refcodes.observer.AbstractEvent

    getSource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.refcodes.mixin.MetaDataAccessor

    getMetaData

    Methods inherited from interface org.refcodes.mixin.SourceAccessor

    getSource
  • Constructor Details

    • DestroyBusEvent

      public DestroyBusEvent(org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource)
      Instantiates a new destroy event.
      Parameters:
      aEventMetaData - the event Meta-Data
      aSource - The according source (origin).
    • DestroyBusEvent

      public DestroyBusEvent(ApplicationBus aSource)
      Instantiates a new destroy event.
      Parameters:
      aSource - The according source (origin).
    • DestroyBusEvent

      public DestroyBusEvent(String aChannel, ApplicationBus aSource)
      Instantiates a new destroy event.
      Parameters:
      aChannel - The channel for the EventMetaData.
      aSource - The according source (origin).
    • DestroyBusEvent

      public DestroyBusEvent(Class<?> aPublisherType, ApplicationBus aSource)
      Instantiates a new destroy event.
      Parameters:
      aPublisherType - The publisher type for the EventMetaData.
      aSource - The according source (origin).
    • DestroyBusEvent

      public DestroyBusEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
      Instantiates a new destroy event.
      Parameters:
      aAlias - The alias for the EventMetaData.
      aGroup - The group for the EventMetaData.
      aChannel - The channel for the EventMetaData.
      aUid - The Universal-TID for the EventMetaData.
      aPublisherType - The publisher type for the EventMetaData.
      aSource - The according source (origin).
    • DestroyBusEvent

      public DestroyBusEvent(String aChannel, Class<?> aPublisherType, ApplicationBus aSource)
      Instantiates a new destroy event.
      Parameters:
      aChannel - The channel for the EventMetaData.
      aPublisherType - The publisher type for the EventMetaData.
      aSource - The according source (origin).
  • Method Details

    • getAction

      public org.refcodes.component.LifecycleRequest getAction()
      Specified by:
      getAction in interface org.refcodes.mixin.ActionAccessor<Enum<?>>
      Specified by:
      getAction in interface org.refcodes.component.ext.observer.DestroyRequestedEvent<ApplicationBus>
      Specified by:
      getAction in interface org.refcodes.component.ext.observer.LifecycleRequestEvent<ApplicationBus>
      Overrides:
      getAction in class org.refcodes.observer.AbstractActionEvent<Enum<?>,ApplicationBus>
    • builder

      public static DestroyBusEvent.Builder builder()
      Creates builder to build DestroyBusEvent.
      Returns:
      created builder