Package org.refcodes.eventbus.ext.application
package org.refcodes.eventbus.ext.application
-
ClassDescriptionThe
ApplicationBus
extends theGenericEventBus
with convenience functionality common to everyday application and service development as defined by the interfacesPayloadBus
,PropertiesBus
,MessageBus
,ExceptionBus
as well asLifecycleBus
on top of theGenericEventBus
.Intuitive Meta-Interface for theApplicationBusEvent
as used by theApplicationBus
.Intuitive Meta-Interface for theApplicationBusEvent.ApplicationBusEventBuilder
as used by theApplicationBus
.Intuitive Meta-Class for theMetaDataActionEventBuilderImpl
as used by theApplicationBus
.Intuitive Meta-Class for theMetaDataActionEventImpl
as used by theApplicationBus
.ApplicationBusImpl
implements theApplicationBus
, extending theApplicationBus
with convenience functionality common to everyday application and service development.A convenience definition of anObserver
for the ready to use out of the boxEventBusImpl
implementation of the genericGenericEventBus
definition.Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for theApplicationEventMatcher
elements.A convenience definition of anEventMatcher
for the ready to use out of the boxEventBusImpl
implementation of the genericGenericEventBus
definition.TheDestroyBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofDestroyBusEvent
instances.Implementation of theLifecycleBusEvent
forLifecycleRequest.DESTROY
.TheExceptionBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofThrowable
instances.Implementation of theExceptionBusEvent
.TheInitializeBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofInitializeBusEvent
instances.Implementation of theLifecycleBusEvent
forLifecycleRequest.INITIALIZE
with an additionalProperties
object for configuration.TheLifecycleBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofLifecycleStatus
signals such asInitializeBusEvent
,StartBusEvent
,PauseBusEvent
,ResumeBusEvent
,StopBusEvent
orDestroyBusEvent
instances.TheLifecycleBusEvent
represents aLifecycleRequest
and might be vetoed by (depending on the firing observable) throwing aVetoException
orVetoException.VetoRuntimeException
by the accordingObserver
.An observer for listening toLifecycleBusEvent
instances.TheMessageBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching of messageString
instances.An event indication a message.Implementation of theMessageBusEvent
.TheMessagePropertiesBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofProperties
instances.ThePauseBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofPauseBusEvent
instances.Implementation of theLifecycleBusEvent
forLifecycleRequest.PAUSE
.ThePayloadBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching of payloads.Intuitive Meta-Interface for thePayloadMetaDataActionEvent
as used by theApplicationBus
.Intuitive Meta-Interface for thePayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder
as used by theApplicationBus
.Intuitive Meta-Class for thePayloadMetaDataActionEventBuilderImpl
as used by theApplicationBus
.Intuitive Meta-Class for thePayloadMetaDataActionEventImpl
as used by theApplicationBus
.ThePropertiesBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofProperties
instances.An event indication a properties.Implementation of thePropertiesBusEvent
.TheResumeBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofResumeBusEvent
instances.Implementation of theLifecycleBusEvent
forLifecycleRequest.RESUME
.TheStartBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofStartBusEvent
instances.Implementation of theLifecycleBusEvent
forLifecycleRequest.START
.TheStopBus
extends theApplicationBus
with convenience functionality common to everyday application and service development regarding dispatching ofStopBusEvent
instances.Implementation of theLifecycleBusEvent
forLifecycleRequest.STOP
.