|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.event.EventBeanFactory
public class EventBeanFactory
Factory for EventBean
event object wrappers. Creates wrappers for any Java object as well as for
maps containing key-value pairs.
Method Summary | |
---|---|
static EventBean |
createMapFromUnderlying(java.util.Map<java.lang.String,EventBean> events,
EventType eventType)
Create an aggregate event wrapper bean from a set of named events stored in a Map. |
static EventBean |
createMapFromValues(java.util.Map<java.lang.String,java.lang.Object> properties,
EventType eventType)
Create an event wrapper bean from a set of event properties (name and value objectes) stored in a Map. |
static EventBean |
createObject(java.lang.Object event)
Create an event wrapper for an event object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EventBean createMapFromValues(java.util.Map<java.lang.String,java.lang.Object> properties, EventType eventType)
properties
- is key-value pairs for the event propertieseventType
- is the type metadata for any maps of that type
public static EventBean createMapFromUnderlying(java.util.Map<java.lang.String,EventBean> events, EventType eventType)
events
- is key-value pairs where the key is the event name and the value is the eventeventType
- is the type metadata for any maps of that type
public static EventBean createObject(java.lang.Object event)
event
- is the event object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |