Class DestroyBusEvent
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/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
ConstructorDescriptionDestroyBusEvent
(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.DestroyBusEvent
(String aChannel, ApplicationBus aSource) Instantiates a new destroy event.DestroyBusEvent
(ApplicationBus aSource) Instantiates a new destroy event.DestroyBusEvent
(org.refcodes.observer.EventMetaData aEventMetaData, ApplicationBus aSource) Instantiates a new destroy event. -
Method Summary
Modifier and TypeMethodDescriptionstatic DestroyBusEvent.Builder
builder()
Creates builder to buildDestroyBusEvent
.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
Instantiates a new destroy event.- Parameters:
aEventMetaData
- the event Meta-DataaSource
- The according source (origin).
-
DestroyBusEvent
Instantiates a new destroy event.- Parameters:
aSource
- The according source (origin).
-
DestroyBusEvent
Instantiates a new destroy event.- Parameters:
aChannel
- The channel for theEventMetaData
.aSource
- The according source (origin).
-
DestroyBusEvent
Instantiates a new destroy event.- Parameters:
aPublisherType
- The publisher type for theEventMetaData
.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 theEventMetaData
.aGroup
- The group for theEventMetaData
.aChannel
- The channel for theEventMetaData
.aUid
- The Universal-TID for theEventMetaData
.aPublisherType
- The publisher type for theEventMetaData
.aSource
- The according source (origin).
-
DestroyBusEvent
Instantiates a new destroy event.- Parameters:
aChannel
- The channel for theEventMetaData
.aPublisherType
- The publisher type for theEventMetaData
.aSource
- The according source (origin).
-
-
Method Details
-
getAction
public org.refcodes.component.LifecycleRequest getAction()- Specified by:
getAction
in interfaceorg.refcodes.mixin.ActionAccessor<Enum<?>>
- Specified by:
getAction
in interfaceorg.refcodes.component.ext.observer.DestroyRequestedEvent<ApplicationBus>
- Specified by:
getAction
in interfaceorg.refcodes.component.ext.observer.LifecycleRequestEvent<ApplicationBus>
- Overrides:
getAction
in classorg.refcodes.observer.AbstractActionEvent<Enum<?>,
ApplicationBus>
-
builder
Creates builder to buildDestroyBusEvent
.- Returns:
- created builder
-