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