|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicMethodInvocation
Dynamic method invocation callback interface. Implementation classes can add a persistence functionality to Grails like save and delete.
Method Summary | |
---|---|
Object |
invoke(Object target,
String methodName,
Object[] arguments)
Invokes the actual method. |
boolean |
isMethodMatch(String methodName)
Checks if a method name matches the criteria of the implementation class. |
Method Detail |
---|
boolean isMethodMatch(String methodName)
Checks if a method name matches the criteria of the implementation class.
methodName
- the static method name
Object invoke(Object target, String methodName, Object[] arguments)
Invokes the actual method. The target object and arguments are supplied.
target
- the target on which the method is invoked.methodName
- arguments
- the arguments passed in the method call @return the return value of the dynamic method invocation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |