Interface CbDictionaryComponent<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 CbDictionaryComponent<T> extends SerializableLambda
Represents a callback(Dictionary, Component) that is invoked on a Component implementation class. The type of the class on which the callback is invoked on is represented by the T generic parameter.
Author:
Felix Project Team
  • Method Details

    • accept

      void accept(T instance, Dictionary<String,Object> conf, org.apache.felix.dm.Component component)
      Handles the given arguments.
      Parameters:
      instance - the Component implementation instance on which the callback is invoked on.
      conf - the first callback parameter
      component - the second callback parameter
    • andThen

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