Interface InstanceCbServiceService<S>
- All Superinterfaces:
Serializable,SerializableLambda
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a swap callback(Service, Service) on an Object instance.
The type of the service passed in argument to the callback is defined by the "S" generic parameter.
- Author:
- Felix Project Team
-
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the given argumentdefault InstanceCbServiceService<S> andThen(InstanceCbServiceService<S> after)
-
Method Details
-
accept
Handles the given argument- Parameters:
old- a Servicereplace- a Service
-
andThen
-