public class ApplicationBusImpl extends org.refcodes.eventbus.EventBusImpl implements ApplicationBus
ApplicationBusImpl
implements the ApplicationBus
, extending
the EventBus
with convenience functionality common to everyday
application and service development.Constructor and Description |
---|
ApplicationBusImpl()
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,
ExecutorService aExecutorService)
Constructs the
ApplicationBus with the DispatchStrategy
being DispatchStrategy.CASCADE when publishing events. |
ApplicationBusImpl(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy,
int aCorePoolSize)
Constructs the
ApplicationBus with the given
DispatchStrategy when publishing events. |
ApplicationBusImpl(ExecutorService aExecutorService)
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. |
cascadeDispatch, getDispatchStrategy, hasHandle, isMatching, lookupHandle, parallelDispatch, publishEvent, removeHandle, sequentialDispatch, subscribe, unsubscribeAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishException, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishMessage, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishPayload, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties, publishProperties
onAction, onAction, onCatchAll, onChannel, onChannel, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onGroup, onGroup, onName, onName, onType, onUniversalId, onUniversalId, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, subscribe
public ApplicationBusImpl()
ApplicationBus
with the DispatchStrategy
being DispatchStrategy.CASCADE
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(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.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(ExecutorService aExecutorService)
ApplicationBus
with the DispatchStrategy
being DispatchStrategy.CASCADE
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.Copyright © 2018. All rights reserved.