@SuppressWarnings("rawtypes") public interface FinderMethod
Implementation of dynamic finders.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Object |
invoke(Class clazz, String methodName, Object[] arguments)Invokes the method |
|
public Object |
invoke(Class clazz, String methodName, Closure additionalCriteria, Object[] arguments)Invokes the method |
|
public boolean |
isMethodMatch(String methodName)Whether the given method name matches this finder |
|
public void |
setPattern(String pattern)
|
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