- All Known Subinterfaces:
ConfiguredServiceProvider<T,CB>
- All Known Implementing Classes:
AbstractConfiguredServiceProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Maps a
Config instance to a newly created
ConfigBean-annotated type instance.-
Method Summary
Modifier and TypeMethodDescriptiontoConfigBean(C config, Class<T> configBeanType) Translate the provided configuration into the appropriate config bean for this service type.
-
Method Details
-
toConfigBean
Translate the provided configuration into the appropriate config bean for this service type.- Type Parameters:
C- the config typeT- the config bean type- Parameters:
config- the configconfigBeanType- the config bean type- Returns:
- the config bean generated, or empty if not possible to create
-