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