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.

@FunctionalInterface public interface InstanceCbRefServiceRefServiceComponent<S>
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 reference
      old - an old swapped service
      replaceRef - the new service reference
      replace - the new service
      c - a Component
    • andThen