@FunctionalInterface public interface CbServiceComponent<T,S> extends SerializableLambda
Modifier and Type | Method and Description |
---|---|
void |
accept(T instance,
S service,
Component c)
Handles the given arguments.
|
default CbServiceComponent<T,S> |
andThen(CbServiceComponent<T,S> after) |
void accept(T instance, S service, Component c)
instance
- the Component implementation instance on which the callback is invoked on.service
- the first callback argumentc
- the second callback argumentdefault CbServiceComponent<T,S> andThen(CbServiceComponent<T,S> after)