|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.bean.DynamicPropertyGetterBase
com.espertech.esper.event.bean.DynamicMappedPropertyGetter
public class DynamicMappedPropertyGetter
Getter for a dynamic mapped property (syntax field.mapped('key')?), using vanilla reflection.
Constructor Summary | |
---|---|
DynamicMappedPropertyGetter(java.lang.String fieldName,
java.lang.String key,
EventAdapterService eventAdapterService)
Ctor. |
Method Summary | |
---|---|
protected java.lang.Object |
call(DynamicPropertyDescriptor descriptor,
java.lang.Object underlying)
Call the getter to obtains the return result object, or null if no such method exists. |
java.lang.reflect.Method |
determineMethod(java.lang.Class clazz)
To be implemented to return the method required, or null to indicate an appropriate method could not be found. |
Methods inherited from class com.espertech.esper.event.bean.DynamicPropertyGetterBase |
---|
get, getBeanProp, getFragment, isBeanExistsProperty, isExistsProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicMappedPropertyGetter(java.lang.String fieldName, java.lang.String key, EventAdapterService eventAdapterService)
fieldName
- property namekey
- mapped access keyeventAdapterService
- factory for event beans and event typesMethod Detail |
---|
public java.lang.reflect.Method determineMethod(java.lang.Class clazz) throws PropertyAccessException
DynamicPropertyGetterBase
determineMethod
in class DynamicPropertyGetterBase
clazz
- to search for a matching method
PropertyAccessException
protected java.lang.Object call(DynamicPropertyDescriptor descriptor, java.lang.Object underlying)
DynamicPropertyGetterBase
call
in class DynamicPropertyGetterBase
descriptor
- provides method information for the classunderlying
- is the underlying object to ask for the property value
|
© 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 |