Interface InstanceCbRefRef<S>

All Superinterfaces:
Serializable, SerializableLambda
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 InstanceCbRefRef<S> extends SerializableLambda
Represents a swap callback(ServiceReference, 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 Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.osgi.framework.ServiceReference<S> ref1, org.osgi.framework.ServiceReference<S> ref2)
    Handles the given argument
     
  • Method Details

    • accept

      void accept(org.osgi.framework.ServiceReference<S> ref1, org.osgi.framework.ServiceReference<S> ref2)
      Handles the given argument
      Parameters:
      ref1 - a Service Reference
      ref2 - a Service Reference
    • andThen

      default InstanceCbRefRef<S> andThen(InstanceCbRefRef<S> after)