org.refcodes.eventbus.DispatchStrategyAccessor
, org.refcodes.observer.EventMatcher<ApplicationEvent>
, org.refcodes.eventbus.GenericBusObservable<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData>
, org.refcodes.eventbus.GenericBusPublisher<ApplicationEvent>
, org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,String>
, org.refcodes.component.HandleLookup<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>>
, org.refcodes.matcher.Matcher<ApplicationEvent>
, org.refcodes.observer.Publisher<ApplicationEvent>
ApplicationBus
, LifeCycleBus
, MessagePropertiesBus
ApplicationBusImpl
public interface ResumeBus extends org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,String>
ResumeBus
extends the ApplicationBus
with convenience
functionality common to everyday application and service development
regarding dispatching of ResumeBusEvent
instances.Modifier and Type | Method | Description |
---|---|---|
default String |
onResume(Class<?> aPublisherType,
org.refcodes.observer.Observer<ResumeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
ResumeBusEvent instances with the given attributes. |
default String |
onResume(Enum<?> aAction,
Class<?> aPublisherType,
org.refcodes.observer.Observer<ResumeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
ResumeBusEvent instances with the given attributes. |
default String |
onResume(Enum<?> aAction,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<ResumeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
ResumeBusEvent instances with the given attributes. |
default String |
onResume(Enum<?> aAction,
String aChannel,
org.refcodes.observer.Observer<ResumeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
ResumeBusEvent instances with the given attributes. |
default String |
onResume(Enum<?> aAction,
org.refcodes.observer.Observer<ResumeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
ResumeBusEvent instances with the given attributes. |
default String |
onResume(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<ResumeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
ResumeBusEvent instances with the given attributes. |
default String |
onResume(String aChannel,
org.refcodes.observer.Observer<ResumeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
ResumeBusEvent instances with the given attributes. |
default String |
onResume(org.refcodes.observer.Observer<ResumeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
ResumeBusEvent instances. |
default void |
publishResume() |
Publishes a resume event with the given attributes.
|
default void |
publishResume(Class<?> aPublisherType) |
Publishes a resume event with the given attributes.
|
default void |
publishResume(Class<?> aPublisherType,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes a resume event with the given attributes.
|
default void |
publishResume(String aChannel) |
Publishes a resume event with the given attributes.
|
default void |
publishResume(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType) |
Publishes a resume event with the given attributes.
|
default void |
publishResume(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes a resume event with the given attributes.
|
default void |
publishResume(String aChannel,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes a resume event with the given attributes.
|
default void |
publishResume(org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes a resume event with the given attributes.
|
default void |
publishResume(org.refcodes.observer.EventMetaData aEventMetaData) |
Publishes a resume event with the given attributes.
|
default void |
publishResume(org.refcodes.observer.EventMetaData aEventMetaData,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes a resume event with the given attributes.
|
subscribe, subscribe, subscribe, unsubscribeAll
onAction, onAction, onActions, onActions, onAlias, onAlias, onCatchAll, onChannel, onChannel, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onGroup, onGroup, onType, onUniversalId, onUniversalId, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent
default void publishResume(Class<?> aPublisherType)
DispatchStrategy.PARALLEL
as we assume all
observers already being initialized.aPublisherType
- The type of the event publisher.default void publishResume(String aChannel)
DispatchStrategy.PARALLEL
as we assume all
observers already being initialized.aChannel
- The channel name on which the event is receivable.default void publishResume(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
DispatchStrategy.PARALLEL
as we assume all
observers already being initialized.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.default void publishResume(org.refcodes.observer.EventMetaData aEventMetaData)
DispatchStrategy.PARALLEL
as we assume all
observers already being initialized.aEventMetaData
- The Meta-Data to by supplied by the event.default void publishResume()
DispatchStrategy.PARALLEL
as we assume all
observers already being initialized.default void publishResume(Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
aPublisherType
- The type of the event publisher.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishResume(String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy)
aChannel
- The channel name on which the event is receivable.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishResume(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishResume(org.refcodes.observer.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy)
aEventMetaData
- The Meta-Data to by supplied by the event.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishResume(org.refcodes.eventbus.DispatchStrategy aStrategy)
aStrategy
- The DispatchStrategy
to use when dispatching the
event.default String onResume(org.refcodes.observer.Observer<ResumeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
ResumeBusEvent
instances.aObserver
- The observer to be notified.default String onResume(Class<?> aPublisherType, org.refcodes.observer.Observer<ResumeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
ResumeBusEvent
instances with the given attributes.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.default String onResume(String aChannel, org.refcodes.observer.Observer<ResumeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
ResumeBusEvent
instances with the given attributes.aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.default String onResume(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ResumeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
ResumeBusEvent
instances with the given attributes.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.default String onResume(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<ResumeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
ResumeBusEvent
instances with the given attributes.aAction
- The action property.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.default String onResume(Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<ResumeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
ResumeBusEvent
instances with the given attributes.aAction
- The action property.aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.default String onResume(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<ResumeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
ResumeBusEvent
instances with the given attributes.aAction
- The action property.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-ID) property.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.default String onResume(Enum<?> aAction, org.refcodes.observer.Observer<ResumeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
ResumeBusEvent
instances with the given attributes. Your
Observable
may be of the required type!aAction
- The action property.aObserver
- The observer to be notified.Copyright © 2018. All rights reserved.