Package io.bootique.jetty
Class JettyModule
- java.lang.Object
-
- io.bootique.ConfigModule
-
- io.bootique.jetty.JettyModule
-
- All Implemented Interfaces:
io.bootique.di.BQModule
public class JettyModule extends io.bootique.ConfigModule
-
-
Constructor Summary
Constructors Constructor Description JettyModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(io.bootique.di.Binder binder)static JettyModuleExtenderextend(io.bootique.di.Binder binder)Returns an instance ofJettyModuleExtenderused by downstream modules to load custom extensions of services declared in the JettyModule.
-
-
-
Method Detail
-
extend
public static JettyModuleExtender extend(io.bootique.di.Binder binder)
Returns an instance ofJettyModuleExtenderused 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
JettyModuleExtenderthat can be used to load Jetty custom extensions.
-
configure
public void configure(io.bootique.di.Binder binder)
- Specified by:
configurein interfaceio.bootique.di.BQModule- Overrides:
configurein classio.bootique.ConfigModule
-
-