Interface InstanceCbRefRefComponent<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 InstanceCbRefRefComponent<S>
Represents a callback(ServiceReference, ServiceReference, Component) 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 Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.osgi.framework.ServiceReference<S> ref1, org.osgi.framework.ServiceReference<S> ref2, org.apache.felix.dm.Component comp)
    Handles the given arguments.
     
  • Method Details

    • accept

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