org.refcodes.component.HandleLookup<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>>
, org.refcodes.eventbus.DispatchStrategyAccessor
, ApplicationBus
, DestroyBus
, ExceptionBus
, InitializeBus
, LifeCycleBus
, MessageBus
, PauseBus
, PayloadBus
, PropertiesBus
, ResumeBus
, StartBus
, StopBus
, 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.matcher.Matcher<ApplicationEvent>
, org.refcodes.observer.EventMatcher<ApplicationEvent>
, org.refcodes.observer.Publisher<ApplicationEvent>
public class ApplicationBusImpl extends org.refcodes.eventbus.AbstractEventBus<ApplicationEvent,org.refcodes.observer.Observer<ApplicationEvent>,ApplicationMatcher,org.refcodes.observer.EventMetaData,String> implements ApplicationBus
ApplicationBusImpl
implements the ApplicationBus
, extending
the ApplicationBus
with convenience functionality common to everyday
application and service development.Constructor | Description |
---|---|
ApplicationBusImpl() |
Constructs the
ApplicationBus with the DispatchStrategy
being DispatchStrategy.CASCADE when publishing events. |
ApplicationBusImpl(int aCorePoolSize) |
Constructs the
ApplicationBus with the DispatchStrategy
being DispatchStrategy.CASCADE when publishing events. |
ApplicationBusImpl(ExecutorService aExecutorService) |
Constructs the
ApplicationBus with the DispatchStrategy
being DispatchStrategy.CASCADE when publishing events. |
ApplicationBusImpl(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy) |
Constructs the
ApplicationBus with the given
DispatchStrategy when publishing events. |
ApplicationBusImpl(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy,
int aCorePoolSize) |
Constructs the
ApplicationBus with the given
DispatchStrategy when publishing events. |
ApplicationBusImpl(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy,
ExecutorService aExecutorService) |
Constructs the
ApplicationBus with the DispatchStrategy
being DispatchStrategy.CASCADE when publishing events. |
cascadeDispatch, getDispatchStrategy, hasHandle, isMatching, lookupHandle, parallelDispatch, publishEvent, removeHandle, sequentialDispatch, 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, subscribe, subscribe
onDestroy, onDestroy, onDestroy, onDestroy, onDestroy, onDestroy, onDestroy, onDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy, publishDestroy
onException, onException, onException, onException, onException, onException, onException, onException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException
subscribe, unsubscribeAll
hasHandle, lookupHandle, removeHandle
onInitialize, onInitialize, onInitialize, onInitialize, onInitialize, onInitialize, onInitialize, onInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize, publishInitialize
onLifeCycle, onLifeCycle, onLifeCycle, onLifeCycle, onLifeCycle, onLifeCycle, onLifeCycle, onLifeCycle
onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPause, onPause, onPause, onPause, onPause, onPause, onPause, onPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause, publishPause
onPayload, onPayload, onPayload, onPayload, onPayload, onPayload, onPayload, onPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload
onProperties, onProperties, onProperties, onProperties, onProperties, onProperties, onProperties, onProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties
onResume, onResume, onResume, onResume, onResume, onResume, onResume, onResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume, publishResume
onStart, onStart, onStart, onStart, onStart, onStart, onStart, onStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart, publishStart
onStop, onStop, onStop, onStop, onStop, onStop, onStop, onStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop, publishStop
public ApplicationBusImpl()
ApplicationBus
with the DispatchStrategy
being DispatchStrategy.CASCADE
when publishing events.public ApplicationBusImpl(ExecutorService aExecutorService)
ApplicationBus
with the DispatchStrategy
being DispatchStrategy.CASCADE
when publishing events.aExecutorService
- THe ExecutorService
to be used when
creating threads.public ApplicationBusImpl(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy)
ApplicationBus
with the given
DispatchStrategy
when publishing events.aDispatchStrategy
- THe DispatchStrategy
to be used when
publishing events.public ApplicationBusImpl(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy, ExecutorService aExecutorService)
ApplicationBus
with the DispatchStrategy
being DispatchStrategy.CASCADE
when publishing events.aDispatchStrategy
- THe DispatchStrategy
to be used when
publishing events.aExecutorService
- THe ExecutorService
to be used when
creating threads.public ApplicationBusImpl(int aCorePoolSize)
ApplicationBus
with the DispatchStrategy
being DispatchStrategy.CASCADE
when publishing events.aCorePoolSize
- The number of threads to keep in the pool, even if
they are idle.public ApplicationBusImpl(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy, int aCorePoolSize)
ApplicationBus
with the given
DispatchStrategy
when publishing events.aCorePoolSize
- The number of threads to keep in the pool, even if
they are idle.aDispatchStrategy
- THe DispatchStrategy
to be used when
publishing events.Copyright © 2018. All rights reserved.