|
Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing 11g Release 1 (11.1.1.4.0) E14303-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EventTypeRepository is a repository for all of the registered event types in the Event Server.
Field Summary | |
static java.lang.String |
SERVICE_FILTER |
static java.lang.String |
SERVICE_ID |
Method Summary | |
EventType |
deregisterEventType(java.lang.String eventType) Remove event type from the repository. |
EventType |
getEventType(java.lang.Object event) Retrieve the event type for an event object. |
EventType |
getEventType(java.lang.String name) Retrieve a previously registered even type by name. |
EventType |
registerEventType(java.lang.String eventType, java.lang.Class supportingClass) Registers POJO event types into repository. |
EventType |
registerEventType(java.lang.String eventType, java.lang.Class supportingClass, EventBuilder.Factory factory) Registers POJO event types into repository specifying an EventBuilder.Factory for the engine to use when instantiating events of this type. |
EventType |
registerEventType(java.lang.String eventType, java.util.List tupleSpec) Registers a TupleValue event type. |
EventType |
registerEventType(java.lang.String eventType, java.util.List tupleSpec, EventBuilder.Factory factory) Similar to #registerEventType(String, Map<String,Class>) . |
EventType |
registerEventType(java.lang.String eventTypeAlias, java.util.Map metadata) Registers Map event types into repository. |
EventType |
registerEventType(java.lang.String aliasName, java.util.Map metadata, EventBuilder.Factory factory) Registers Map event types into repository specifying an EventBuilder.Factory for the engine to use when instantiating events of this type. |
Methods inherited from interface java.lang.Iterable |
iterator |
Field Detail |
public static final java.lang.String SERVICE_ID
public static final java.lang.String SERVICE_FILTER
Method Detail |
public EventType registerEventType(java.lang.String eventTypeAlias, java.util.Map metadata)
eventTypeAlias
- Event type identifier (e.g. MyEvent, StockEvent)metadata
- Metadata defining event type properties.public EventType registerEventType(java.lang.String aliasName, java.util.Map metadata, EventBuilder.Factory factory)
aliasName
- Event type identifier (e.g. MyEvent, StockEvent)metadata
- Metadata defining event type properties.factory
- Factory used by the engine to manufacture events of this type.public EventType registerEventType(java.lang.String eventType, java.lang.Class supportingClass)
eventType
- Event type identifier (e.g. MyEvent, StockEvent)supportingClass
- eventType interfacepublic EventType registerEventType(java.lang.String eventType, java.lang.Class supportingClass, EventBuilder.Factory factory)
eventType
- Event type identifier (e.g. MyEvent, StockEvent)supportingClass
- eventType interfacefactory
- Factory used by the engine to manufacture events of this type.public EventType registerEventType(java.lang.String eventType, java.util.List tupleSpec)
TupleValue
event type. TupleValues are events used by the CQL processor. The list of EventPropertyDescription
elements describe the tuple elements. TODO: Can these be processed by EPL Processor?eventType
- the name or identifier of the EventTypetupleSpec
- List of EventPropertyDescription
elements that describe the tuple elementspublic EventType registerEventType(java.lang.String eventType, java.util.List tupleSpec, EventBuilder.Factory factory)
#registerEventType(String, Map<String,Class>)
. This also takes in EventBuilder.Factory to create an event of this type.eventType
- the name or identifier of the EventTypetupleSpec
- List of EventPropertyDescription
elements that describe the tuple elementsfactory
- EventBuilder.Factory to create an event of this typepublic EventType getEventType(java.lang.String name)
name
- event type name used when registering the event typepublic EventType getEventType(java.lang.Object event)
event
- event object for which to retrieve the event typepublic EventType deregisterEventType(java.lang.String eventType)
eventType
- Event type identifier (e.g. MyEvent, StockEvent)
|
Copyright © 2007, 2011 Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |