|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.bean.PropertyListBuilderExplicit
public class PropertyListBuilderExplicit
Introspector that considers explicitly configured event properties only.
Constructor Summary | |
---|---|
PropertyListBuilderExplicit(ConfigurationEventTypeLegacy legacyConfig)
Ctor. |
Method Summary | |
---|---|
java.util.List<InternalEventPropDescriptor> |
assessProperties(java.lang.Class clazz)
Introspect the clazz and deterime exposed event properties. |
protected static void |
getExplicitProperties(java.util.List<InternalEventPropDescriptor> result,
java.lang.Class clazz,
ConfigurationEventTypeLegacy legacyConfig)
Populates explicitly-defined properties into the result list. |
protected static InternalEventPropDescriptor |
makeFieldDesc(java.lang.reflect.Field field,
java.lang.String name)
Makes a simple-type event property descriptor based on a reflected field. |
protected static InternalEventPropDescriptor |
makeMethodDesc(java.lang.reflect.Method method,
java.lang.String name)
Makes an event property descriptor based on a reflected method, considering the methods parameters to determine if this is an indexed or mapped event property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyListBuilderExplicit(ConfigurationEventTypeLegacy legacyConfig)
legacyConfig
- is a legacy type specification containing
information about explicitly configured fields and methodsMethod Detail |
---|
public java.util.List<InternalEventPropDescriptor> assessProperties(java.lang.Class clazz)
PropertyListBuilder
assessProperties
in interface PropertyListBuilder
clazz
- to introspect
protected static void getExplicitProperties(java.util.List<InternalEventPropDescriptor> result, java.lang.Class clazz, ConfigurationEventTypeLegacy legacyConfig)
result
- is the resulting list of event property descriptorsclazz
- is the class to introspectlegacyConfig
- supplies specification of explicit methods and fields to exposeprotected static InternalEventPropDescriptor makeFieldDesc(java.lang.reflect.Field field, java.lang.String name)
field
- is the public fieldname
- is the name of the event property
protected static InternalEventPropDescriptor makeMethodDesc(java.lang.reflect.Method method, java.lang.String name)
method
- is the public methodname
- is the name of the event property
|
© 2006-2015 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 |