org.springframework.boot.web.servlet

Interface ServletContextInitializerBeans.RegistrationBeanAdapter<T>

  • Type Parameters:
    T - the type of the Bean to adapt
    Enclosing class:
    ServletContextInitializerBeans
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    protected static interface ServletContextInitializerBeans.RegistrationBeanAdapter<T>
    Adapter to convert a given Bean type into a RegistrationBean (and hence a ServletContextInitializer).
    • Method Detail

      • createRegistrationBean

        RegistrationBean createRegistrationBean(String name,
                                                T source,
                                                int totalNumberOfSourceBeans)

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.