Interface InstanceCbConfiguration<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.
Represents a reference to a callback on an Object instance that takes Configuration type as argument.
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.
- Author:
- Felix Project Team
-
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the given argument.default InstanceCbConfiguration<T> andThen(InstanceCbConfiguration<T> after)
-
Method Details
-
accept
Handles the given argument.- Parameters:
configType- the configuration type
-
andThen
-