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 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:
    for more details on usage
    • Method Detail

      • register

        void register​(ComponentRegistry<?> registry)
        Used for registering or modifying components within the ComponentRegistry.
        Parameters:
        registry - the component registry