|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.esper.event.BeanEventAdapter
public class BeanEventAdapter
A cache and factory class for obtaining EventType instances and EventBean instances
for Java Bean events. The class caches EventType instances already known for performance reasons.
This class is multithread-safe.
| Constructor Summary | |
|---|---|
BeanEventAdapter()
Ctor. |
|
| Method Summary | |
|---|---|
EventBean |
adapterForBean(Object event,
Object eventId)
Returns an adapter for the given Java Bean. |
BeanEventType |
createOrGetBeanType(Class clazz)
Creates a new EventType object for a java bean of the specified class if this is the first time the class has been seen. |
void |
setClassToLegacyConfigs(Map<String,ConfigurationEventTypeLegacy> classToLegacyConfigs)
Set the additional mappings for legacy classes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanEventAdapter()
| Method Detail |
|---|
public void setClassToLegacyConfigs(Map<String,ConfigurationEventTypeLegacy> classToLegacyConfigs)
classToLegacyConfigs - legacy class information
public EventBean adapterForBean(Object event,
Object eventId)
event - is the bean to wrapeventId - is an optional id to assigned to the event
public final BeanEventType createOrGetBeanType(Class clazz)
clazz - is the class of the Java bean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||