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.

@FunctionalInterface public interface InstanceCbRefServiceRefService<S>
Represents a swap callback(ServiceReference, Service, ServiceReference, Service) 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)
      Handles the given arguments
      Parameters:
      oldRef - the old service reference
      old - the old service
      replaceRef - the replace service reference
      replace - the replace service
    • andThen