public interface GroovyModuleRegistry extends ModuleRegistry
ModuleRegistry
.Modifier and Type | Method and Description |
---|---|
void |
init(Closure<?> closure)
Adds a closure based application initializer.
|
bind, bind, bind, bind, getLaunchConfig, init, init, provider
register, register, remove
void init(@DelegatesTo(value=java.lang.Void.class,strategy=2) Closure<?> closure)
The closure can declare parameters, that will be injected. That is, parameters must be typed and implementations of such types must be provided by the modules.
closure
- The initializer