|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.BeanEventAdapter
public class BeanEventAdapter
A fcatory for BeanEventType
instances based on Java class information and using configured
settings for
Constructor Summary | |
---|---|
BeanEventAdapter(ConcurrentHashMap<Class,BeanEventType> typesPerJavaBean)
Ctor. |
Method Summary | |
---|---|
BeanEventType |
createBeanType(String alias,
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. |
Configuration.PropertyResolutionStyle |
getDefaultPropertyResolutionStyle()
Gets the default property resolution style for Java class properties. |
void |
setClassToLegacyConfigs(Map<String,ConfigurationEventTypeLegacy> classToLegacyConfigs)
Set the additional mappings for legacy classes. |
void |
setDefaultPropertyResolutionStyle(Configuration.PropertyResolutionStyle defaultPropertyResolutionStyle)
Sets the default property resolution style for Java class properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanEventAdapter(ConcurrentHashMap<Class,BeanEventType> typesPerJavaBean)
typesPerJavaBean
- shareable collection that this adapter writes to
for caching bean types per classMethod Detail |
---|
public void setClassToLegacyConfigs(Map<String,ConfigurationEventTypeLegacy> classToLegacyConfigs)
classToLegacyConfigs
- legacy class informationpublic void setDefaultPropertyResolutionStyle(Configuration.PropertyResolutionStyle defaultPropertyResolutionStyle)
defaultPropertyResolutionStyle
- resolution stylepublic Configuration.PropertyResolutionStyle getDefaultPropertyResolutionStyle()
getDefaultPropertyResolutionStyle
in interface BeanEventTypeFactory
public final BeanEventType createBeanType(String alias, Class clazz)
createBeanType
in interface BeanEventTypeFactory
clazz
- is the class of the Java bean.alias
- is the alias
|
© 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 |