Interface InstanceCbRefServiceRefService<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) on an Object instance.
- Author:
- Felix Project Team
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.osgi.framework.ServiceReference<S> oldRef, S old, org.osgi.framework.ServiceReference<S> replaceRef, S replace) Handles the given argumentsdefault InstanceCbRefServiceRefService<S> andThen(InstanceCbRefServiceRefService<S> after)
-
Method Details
-
accept
void accept(org.osgi.framework.ServiceReference<S> oldRef, S old, org.osgi.framework.ServiceReference<S> replaceRef, S replace) Handles the given arguments- Parameters:
oldRef- the old service referenceold- the old servicereplaceRef- the replace service referencereplace- the replace service
-
andThen
-