|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InvocationHandler<T>
| Method Summary | ||
|---|---|---|
ConstructorHandler<T> |
constructor()
Use this method to invoke a constructor using only arguments. |
|
|
constructor(java.lang.reflect.Constructor<C> con)
Use this method to invoke a constructor using its instance. |
|
java.lang.Object |
getterFor(java.lang.reflect.Field field)
This is a convenience method for invoking getters that follow JavaBean notation |
|
java.lang.Object |
getterFor(java.lang.String fieldName)
This is a convenience method for invoking getters that follow JavaBean notation |
|
MethodHandler |
method(java.lang.reflect.Method method)
Use this method to invoke a method using its instance. |
|
MethodHandler |
method(java.lang.String methodName)
Use this method to invoke a method by its name. |
|
SetterMethodHandler |
setterFor(java.lang.reflect.Field field)
This is a convenience method for invoking setters that follow JavaBean notation |
|
SetterMethodHandler |
setterFor(java.lang.String fieldName)
This is a convenience method for invoking setters that follow JavaBean notation |
|
| Method Detail |
|---|
MethodHandler method(java.lang.String methodName)
methodName - name of the method to be invoked.
java.lang.IllegalArgumentException - if methodName is null.ConstructorHandler<T> constructor()
java.lang.IllegalStateException - if class was not provided.MethodHandler method(java.lang.reflect.Method method)
method - Method to be invoked.
<C> ConstructorHandler<C> constructor(java.lang.reflect.Constructor<C> con)
con - Constructor to be invoked.
java.lang.Object getterFor(java.lang.String fieldName)
fieldName -
java.lang.Object getterFor(java.lang.reflect.Field field)
field - field associated with the getter
SetterMethodHandler setterFor(java.lang.String fieldName)
fieldName -
SetterMethodHandler setterFor(java.lang.reflect.Field field)
field -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||