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.
A functional interface used for contributing framework
Components 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:
-
Method Summary
Modifier and TypeMethodDescriptionvoidregister(ComponentRegistry<?> registry) Used for registering or modifying components within theComponentRegistry.
-
Method Details
-
register
Used for registering or modifying components within theComponentRegistry.- Parameters:
registry- the component registry
-