Implementation of dynamic finders.
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
invoke(java.lang.Class clazz, java.lang.String methodName, java.lang.Object[] arguments) Invokes the method |
|
java.lang.Object |
invoke(java.lang.Class clazz, java.lang.String methodName, groovy.lang.Closure additionalCriteria, java.lang.Object[] arguments) Invokes the method |
|
boolean |
isMethodMatch(java.lang.String methodName) Whether the given method name matches this finder |
|
void |
setPattern(java.lang.String pattern) @param pattern A regular expression |
Invokes the method
clazz
- The classmethodName
- The method namearguments
- The argumentsInvokes the method
clazz
- The classmethodName
- The method nameadditionalCriteria
- additional criteria closurearguments
- The argumentsWhether the given method name matches this finder
methodName
- The method name
pattern
- A regular expression