org.zkoss.bind.impl
Class AbstractAnnotatedMethodInvoker<T extends java.lang.annotation.Annotation>
java.lang.Object
org.zkoss.bind.impl.AbstractAnnotatedMethodInvoker<T>
public abstract class AbstractAnnotatedMethodInvoker<T extends java.lang.annotation.Annotation>
- extends java.lang.Object
To help calling a ViewModel annotated method with binding arguments.
- Author:
- Ian Y.T Tsai(zanyking)
- See Also:
Init
,
AfterCompose
Constructor Summary |
AbstractAnnotatedMethodInvoker(java.lang.Class<T> annoClass,
java.util.Map<java.lang.Class<?>,java.util.List<java.lang.reflect.Method>> annoMethodCache)
|
Method Summary |
void |
invokeMethod(Binder binder,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
|
protected abstract boolean |
shouldLookupSuperclass(T annotation)
Verify if the super classes need to be traced. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnnotatedMethodInvoker
public AbstractAnnotatedMethodInvoker(java.lang.Class<T> annoClass,
java.util.Map<java.lang.Class<?>,java.util.List<java.lang.reflect.Method>> annoMethodCache)
invokeMethod
public void invokeMethod(Binder binder,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
shouldLookupSuperclass
protected abstract boolean shouldLookupSuperclass(T annotation)
- Verify if the super classes need to be traced.
- Parameters:
annotation
-
- Returns:
- true, if handler should trace super class, false otherwise.
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.