Interface CbComponent<T>

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 CbComponent<T> extends SerializableLambda
Represents a callback(Component) that is invoked on a Component implementation class. The type of the component implementation class on which the callback is invoked on is represented by the T generic parameter. The component callback accepts in argument a Component parameter.
Author:
Felix Project Team
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T instance, org.apache.felix.dm.Component component)
    Handles the given arguments.
    default CbComponent<T>
    andThen(CbComponent<? super T> after)
     
  • Method Details

    • accept

      void accept(T instance, org.apache.felix.dm.Component component)
      Handles the given arguments.
      Parameters:
      instance - the Component implementation class instance on which the callback is invoked on.
      component - the callback parameter
    • andThen

      default CbComponent<T> andThen(CbComponent<? super T> after)