@FunctionalInterface public interface InstanceCbServiceServiceComponent<S> extends SerializableLambda
The type of the service passed in argument to the callback is defined by the "S" generic parameter.
Modifier and Type | Method and Description |
---|---|
void |
accept(S old,
S replace,
Component c)
Handles the given arguments.
|
default InstanceCbServiceServiceComponent<S> |
andThen(InstanceCbServiceServiceComponent<S> after) |
void accept(S old, S replace, Component c)
c
- the componentold
- the old servicereplace
- the new servicedefault InstanceCbServiceServiceComponent<S> andThen(InstanceCbServiceServiceComponent<S> after)