Static method invocation callback interface. Implementation classes can add static persistent functionality to Grails like finder methods.
Type | Name and description |
---|---|
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. |
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 suppliedChecks if a method name matches the criteria of the implementation class.
methodName
- the static method name