|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StaticMethodInvocation
Static method invocation callback interface. Implementation classes can add static persistent functionality to Grails like finder methods.
Method Summary | |
---|---|
Object |
invoke(Class clazz,
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(Class clazz, String methodName, Object[] arguments)
Invokes the actual method. The class, method name and arguments are provided. If no arguments are passed the argument array is empty.
clazz
- the class the static method is called onmethodName
- the static method namearguments
- the arguments supplied
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |