Interface DependencyInjectionModule


  • public interface DependencyInjectionModule
    A Module is a collection of related services
    Author:
    cdivilly
    • Method Detail

      • configureApplicationScope

        default void configureApplicationScope​(ScopeConfiguration scope)
        Enables the module to intercept and enhance the configuration of the ApplicationScoped scope
        Parameters:
        scope - provides methods to configure the scope
      • configureRequestScope

        default void configureRequestScope​(javax.servlet.http.HttpServletRequest request,
                                           ScopeConfiguration scope)
        Enables the module to intercept and enhance the configuration of the RequestScoped scope
        Parameters:
        request - The HttpServletRequest that is being serviced
        scope - provides methods to configure the scope
      • types

        default TypeReflections types()
        Enumerates the service provider types in this module
        Returns:
        TypeReflections instance enumerating each type in this module that offers a service