Class JettyModule

  • All Implemented Interfaces:
    io.bootique.di.BQModule

    public class JettyModule
    extends io.bootique.ConfigModule
    • Constructor Detail

      • JettyModule

        public JettyModule()
    • Method Detail

      • extend

        public static JettyModuleExtender extend​(io.bootique.di.Binder binder)
        Returns an instance of JettyModuleExtender used by downstream modules to load custom extensions of services declared in the JettyModule. Should be invoked from a downstream Module's "configure" method.
        Parameters:
        binder - DI binder passed to the Module that invokes this method.
        Returns:
        an instance of JettyModuleExtender that can be used to load Jetty custom extensions.
      • configure

        public void configure​(io.bootique.di.Binder binder)
        Specified by:
        configure in interface io.bootique.di.BQModule
        Overrides:
        configure in class io.bootique.ConfigModule