@FunctionalInterface public interface InstanceCbConfigurationComponent<T> extends SerializableLambda
The T generic parameter represents the type of the configuration class passed to the callback argument.
Using such callback provides a way for creating type-safe configurations from the actual Dictionary
that is
normally injected by Dependency Manager.
For more information about configuration types, please refer to ConfigurationDependencyBuilder
.
Modifier and Type | Method and Description |
---|---|
void |
accept(T configType,
org.apache.felix.dm.Component component)
Handles the given arguments
|
default InstanceCbConfigurationComponent<T> |
andThen(InstanceCbConfigurationComponent<T> after) |
void accept(T configType, org.apache.felix.dm.Component component)
configType
- the configuration typecomponent
- the callback Componentdefault InstanceCbConfigurationComponent<T> andThen(InstanceCbConfigurationComponent<T> after)