Interface InstanceCbServiceServiceComponent<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.
@FunctionalInterface
public interface InstanceCbServiceServiceComponent<S>
extends SerializableLambda
Represents a swap callback(Service, Service, Component) 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 arguments.default InstanceCbServiceServiceComponent<S>
-
Method Details
-
accept
Handles the given arguments.- Parameters:
old- the old servicereplace- the new servicec- the component
-
andThen
-