public interface EventTriggersConfiguration extends FabricEventTriggerSource
Title: Service Event Fabric Runtime
Description: This interface defines a way to configure Service Event Triggers
in
the Event Trigger Registry
.
An Event Trigger
is a special event consumer that may encapsulate any of the following interfaces:
A trigger is configured by a setting it's trigger definition script and adding the trigger to the service's
Event Trigger Registry
. Triggers function within the context of a given service's Fabric
Event Dispatcher
. They consume events raised by Event Handlers
and depending on the logic
of the trigger script can make the event available to the Service Event Fabric
.
By default event handlers that produce results make such results available to the internal dispatcher of the
service's Container Context
as a special internal event referred to as an Actionable Event.
Event triggers are defined on actionable events and allow such internal events to be made available to the rest
of the fabric's components. Event triggers may be enabled or disabled by the user. Developers may include
both event id filtering criteria and Event Selectors
into the trigger's definition, further narrowing
the event scope. Multiple triggers may be defined on the same Actionable Event.
Note that a 'local' Event Scope
setting on a component will cause all event triggers to raise
events locally, not passing them to the Fabric Exchnage
.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
void |
addEventTrigger(java.lang.String triggerName)
Adds new event trigger to the configuration
|
void |
removeAllEventTriggers()
Removes all event triggers from this configuration.
|
void |
removeEventTrigger(java.lang.String triggerName)
Removes a trigger from the configuration.
|
existsEventTrigger, getEventTriggerData, hasEventTriggers, listEventTriggers
void addEventTrigger(java.lang.String triggerName) throws ServiceConfigurationException
triggerName
- ServiceConfigurationException
void removeEventTrigger(java.lang.String triggerName) throws ServiceConfigurationException
triggerName
- StringServiceConfigurationException
void removeAllEventTriggers()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.