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 InitializeBus extends org.refcodes.eventbus.GenericEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,String>
InitializeBus
extends the ApplicationBus
with convenience
functionality common to everyday application and service development
regarding dispatching of InitializeBusEvent
instances.Modifier and Type | Method | Description |
---|---|---|
default String |
onInitialize(Class<?> aPublisherType,
org.refcodes.observer.Observer<InitializeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
InitializeBusEvent instances with the given attributes. |
default String |
onInitialize(Enum<?> aAction,
Class<?> aPublisherType,
org.refcodes.observer.Observer<InitializeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
InitializeBusEvent instances with the given attributes. |
default String |
onInitialize(Enum<?> aAction,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<InitializeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
InitializeBusEvent instances with the given attributes. |
default String |
onInitialize(Enum<?> aAction,
String aChannel,
org.refcodes.observer.Observer<InitializeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
InitializeBusEvent instances with the given attributes. |
default String |
onInitialize(Enum<?> aAction,
org.refcodes.observer.Observer<InitializeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
InitializeBusEvent instances with the given attributes. |
default String |
onInitialize(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.observer.Observer<InitializeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
InitializeBusEvent instances with the given attributes. |
default String |
onInitialize(String aChannel,
org.refcodes.observer.Observer<InitializeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
InitializeBusEvent instances with the given attributes. |
default String |
onInitialize(org.refcodes.observer.Observer<InitializeBusEvent> aObserver) |
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for
InitializeBusEvent instances. |
default void |
publishInitialize() |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(Class<?> aPublisherType) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(Class<?> aPublisherType,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(String aChannel) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType) |
Publishes an event with the provided initialize for the given attributes.
|
default void |
publishInitialize(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(String aChannel,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties,
Class<?> aPublisherType) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties,
Class<?> aPublisherType,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties,
String aChannel) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType) |
Publishes an event with the provided initialize for the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties,
String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties,
String aChannel,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties,
org.refcodes.observer.EventMetaData aEventMetaData) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.configuration.Properties aProperties,
org.refcodes.observer.EventMetaData aEventMetaData,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.observer.EventMetaData aEventMetaData) |
Publishes an initialize event with the given attributes.
|
default void |
publishInitialize(org.refcodes.observer.EventMetaData aEventMetaData,
org.refcodes.eventbus.DispatchStrategy aStrategy) |
Publishes an initialize 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 publishInitialize(org.refcodes.configuration.Properties aProperties, Class<?> aPublisherType)
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.aProperties
- The initialize to be carried by the event.aPublisherType
- The type of the event publisher.default void publishInitialize(org.refcodes.configuration.Properties aProperties, String aChannel)
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.aProperties
- The initialize to be carried by the event.aChannel
- The channel name on which the event is receivable.default void publishInitialize(org.refcodes.configuration.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.aProperties
- The initialize to be carried by the event.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 publishInitialize(org.refcodes.configuration.Properties aProperties, org.refcodes.observer.EventMetaData aEventMetaData)
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.aProperties
- The initialize to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.default void publishInitialize(org.refcodes.configuration.Properties aProperties)
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.aProperties
- The initialize to be carried by the event.default void publishInitialize(org.refcodes.configuration.Properties aProperties, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
aProperties
- The initialize to be carried by the event.aPublisherType
- The type of the event publisher.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishInitialize(org.refcodes.configuration.Properties aProperties, String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy)
aProperties
- The initialize to be carried by the event.aChannel
- The channel name on which the event is receivable.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishInitialize(org.refcodes.configuration.Properties aProperties, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
aProperties
- The initialize to be carried by the event.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 publishInitialize(org.refcodes.configuration.Properties aProperties, org.refcodes.observer.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy)
aProperties
- The initialize to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishInitialize(org.refcodes.configuration.Properties aProperties, org.refcodes.eventbus.DispatchStrategy aStrategy)
aProperties
- The initialize to be carried by the event.aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishInitialize(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 publishInitialize(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 publishInitialize(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 publishInitialize(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 publishInitialize(org.refcodes.eventbus.DispatchStrategy aStrategy)
aStrategy
- The DispatchStrategy
to use when dispatching the
event.default void publishInitialize(Class<?> aPublisherType)
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.aPublisherType
- The type of the event publisher.default void publishInitialize(String aChannel)
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.aChannel
- The channel property.default void publishInitialize(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.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 publishInitialize(org.refcodes.observer.EventMetaData aEventMetaData)
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.aEventMetaData
- The Meta-Data to by supplied by the event.default void publishInitialize()
DispatchStrategy.CASCADE
to make sure your
publishing thread synchronizes till all observers have been notified,
though your publishing thread is not blocked upon event publishing of the
observers (also using the default DispatchStrategy.CASCADE
)
themselves.default String onInitialize(org.refcodes.observer.Observer<InitializeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
InitializeBusEvent
instances.aObserver
- The observer to be notified.default String onInitialize(Class<?> aPublisherType, org.refcodes.observer.Observer<InitializeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
InitializeBusEvent
instances with the given attributes.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.default String onInitialize(String aChannel, org.refcodes.observer.Observer<InitializeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
InitializeBusEvent
instances with the given attributes.aChannel
- The channel name on which the event is receivable.aObserver
- The observer to be notified.default String onInitialize(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<InitializeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
InitializeBusEvent
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 onInitialize(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<InitializeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
InitializeBusEvent
instances with the given attributes.aAction
- The action property.aPublisherType
- The type of the event publisher.aObserver
- The observer to be notified.default String onInitialize(Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<InitializeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
InitializeBusEvent
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 onInitialize(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<InitializeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
InitializeBusEvent
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 onInitialize(Enum<?> aAction, org.refcodes.observer.Observer<InitializeBusEvent> aObserver)
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for
InitializeBusEvent
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.