Interface FrameworkComponentSource
-
- 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 FrameworkComponentSource
A functional interface used for contributing frameworkComponents
to an application.This interface can be registered as a bean within a Spring Boot application in order to contribute framework components to the application. Framework components are guaranteed to be registered before components contributed with the general use
ComponentSource
. This allows framework components within the registry to be easily extended or modified.- Author:
- Nick Crum (ncrum)
- See Also:
for more details on usage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
register(ComponentRegistry<?> registry)
Used for registering or modifying components within theComponentRegistry
.
-
-
-
Method Detail
-
register
void register(ComponentRegistry<?> registry)
Used for registering or modifying components within theComponentRegistry
.- Parameters:
registry
- the component registry
-
-