@groovy.util.logging.Slf4j @groovy.transform.AutoFinal @groovy.transform.CompileStatic @groovy.transform.EqualsAndHashCode(includes: [target, method]) @groovy.transform.ToString(includes: [method]) class MethodSubscriber<T, R> extends java.lang.Object implements Subscriber<T, R>
Invokes a method to trigger an event
Type | Name and description |
---|---|
ConversionService |
conversionService |
java.lang.reflect.Method |
method |
int |
parameterLength |
java.lang.Class[] |
parameterTypes |
java.lang.Object |
target |
Constructor and description |
---|
MethodSubscriber
(java.lang.Object target, java.lang.reflect.Method method) |
Type Params | Return Type | Name and description |
---|---|---|
|
R |
call(T arg) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation