|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueAddEventService
Service associating handling vaue-added event types, such a revision event types and variant stream event types.
Associates named windows and revision event types.
Method Summary | |
---|---|
void |
addRevisionEventType(String alias,
ConfigurationRevisionEventType config,
EventAdapterService eventAdapterService)
Adds a new revision event types. |
void |
addVariantStream(String variantEventTypeAlias,
ConfigurationVariantStream variantStreamConfig,
EventAdapterService eventAdapterService)
Adds a new variant stream. |
EventType |
createRevisionType(String namedWindowName,
String alias,
StatementStopService statementStopService,
EventAdapterService eventAdapterService)
Upon named window creation, create a unique revision event type that this window processes. |
ValueAddEventProcessor |
getValueAddProcessor(String alias)
Gets a value-added event processor. |
EventType |
getValueAddUnderlyingType(String alias)
Upon named window creation, and during resolution of type specified as part of a named window create statement, returns looks up the revision event type alias provided and return the revision event type if found, or null if not found. |
void |
init(Map<String,ConfigurationRevisionEventType> revisionTypes,
Map<String,ConfigurationVariantStream> variantStreams,
EventAdapterService eventAdapterService)
Called at initialization time, verifies configurations provided. |
boolean |
isRevisionTypeAlias(String alias)
Upon named window creation, check if the alias used is a revision event type alias. |
Method Detail |
---|
void init(Map<String,ConfigurationRevisionEventType> revisionTypes, Map<String,ConfigurationVariantStream> variantStreams, EventAdapterService eventAdapterService)
revisionTypes
- is the revision types to addvariantStreams
- is the variant streams to addeventAdapterService
- for obtaining event type information for each aliasvoid addRevisionEventType(String alias, ConfigurationRevisionEventType config, EventAdapterService eventAdapterService)
alias
- to addconfig
- the revision event type configurationeventAdapterService
- for obtaining event type information for each aliasvoid addVariantStream(String variantEventTypeAlias, ConfigurationVariantStream variantStreamConfig, EventAdapterService eventAdapterService) throws ConfigurationException
variantEventTypeAlias
- the alias of the typevariantStreamConfig
- the configseventAdapterService
- for handling nested events
ConfigurationException
- if the configuration is invalidEventType getValueAddUnderlyingType(String alias)
alias
- to look up
EventType createRevisionType(String namedWindowName, String alias, StatementStopService statementStopService, EventAdapterService eventAdapterService)
namedWindowName
- name of windowalias
- alias to usestatementStopService
- for handling stopseventAdapterService
- for event type info
boolean isRevisionTypeAlias(String alias)
alias
- to check
ValueAddEventProcessor getValueAddProcessor(String alias)
alias
- of the value-add events
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |