|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MethodReplaceStrategy
Specifies the replace strategy for a method.
| Method Summary | |
|---|---|
void |
with(InvocationHandler invocationHandler)
Replaces the method invocation with an invocation handler |
void |
with(Method method)
Replaces the method invocation with this method. |
| Method Detail |
|---|
void with(Method method)
Note that both methods needs to be static.
method - The method call will be replaced by this method instead. Needs
to be static.void with(InvocationHandler invocationHandler)
invocationHandler - The invocation handler to replace the method call with.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||