@FunctionalInterface
public interface InstanceCbServiceRef<S>
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 service,
<any> ref)
Handles the given arguments.
|
default InstanceCbServiceRef<S> |
andThen(InstanceCbServiceRef<S> after) |
void accept(S service, <any> ref)
ref
- a Service Referenceservice
- a Servicedefault InstanceCbServiceRef<S> andThen(InstanceCbServiceRef<S> after)