|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface StaticMethodInvocation
Static method invocation callback interface. Implementation classes can add static persistent functionality to Grails like finder methods.
Method Summary | |
---|---|
java.lang.Object
|
invoke(java.lang.Class clazz, 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.Class clazz, java.lang.String methodName, java.lang.Object[] arguments)
clazz
- the class the static method is called onmethodName
- the static method namearguments
- the arguments supplied
public boolean isMethodMatch(java.lang.String methodName)
methodName
- the static method name
Groovy Documentation