@FunctionalInterface public interface CbServiceRef<T,S> extends SerializableLambda
Modifier and Type | Method and Description |
---|---|
void |
accept(T instance,
S service,
<any> ref)
Handles the given arguments.
|
default CbServiceRef<T,S> |
andThen(CbServiceRef<? super T,S> after) |
void accept(T instance, S service, <any> ref)
instance
- the Component implementation instance on which the callback is invoked on.service
- first callback argref
- second callback argdefault CbServiceRef<T,S> andThen(CbServiceRef<? super T,S> after)