Interface InstanceCbServiceComponentRef<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 InstanceCbServiceComponentRef<S>
Represents a callback(Service, Component, ServiceReference) 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 Details

    • accept

      void accept(S service, org.apache.felix.dm.Component c, org.osgi.framework.ServiceReference<S> ref)
      Handles the given arguments.
      Parameters:
      service - the service
      c - a Component
      ref - the service reference
    • andThen