Package io.bootique.mvc
Class MvcModule
- java.lang.Object
-
- io.bootique.mvc.MvcModule
-
- All Implemented Interfaces:
io.bootique.BQModule
public class MvcModule extends Object implements io.bootique.BQModule
-
-
Constructor Summary
Constructors Constructor Description MvcModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(io.bootique.di.Binder binder)io.bootique.ModuleCratecrate()static MvcModuleExtenderextend(io.bootique.di.Binder binder)Returns an instance ofMvcModuleExtenderused by downstream modules to load custom extensions to the MvcModule.
-
-
-
Method Detail
-
extend
public static MvcModuleExtender extend(io.bootique.di.Binder binder)
Returns an instance ofMvcModuleExtenderused by downstream modules to load custom extensions to the MvcModule. 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
MvcModuleExtenderthat can be used to load custom extensions to the MvcModule.
-
crate
public io.bootique.ModuleCrate crate()
- Specified by:
cratein interfaceio.bootique.BQModule
-
configure
public void configure(io.bootique.di.Binder binder)
- Specified by:
configurein interfaceio.bootique.BQModule
-
-