Interface InstanceCbRefServiceRefServiceComponent<S>
- 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(ServiceReference, Service, ServiceReference, Service, Component) on an Object instance.
- Author:
- Felix Project Team
-
Method Details
-
accept
void accept(org.osgi.framework.ServiceReference<S> oldRef, S old, org.osgi.framework.ServiceReference<S> replaceRef, S replace, org.apache.felix.dm.Component c) Handles the given arguments- Parameters:
oldRef- an old swapped service referenceold- an old swapped servicereplaceRef- the new service referencereplace- the new servicec- a Component
-
andThen
default InstanceCbRefServiceRefServiceComponent<S> andThen(InstanceCbRefServiceRefServiceComponent<S> after)
-