Package | Description |
---|---|
ratpack.groovy.guice |
Groovy specific extensions to the Guice support.
|
ratpack.groovy.test.embed |
Support for creating Groovy based embedded applications.
|
ratpack.guice |
Integration with Google Guice.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GroovyBindingsSpec
Groovy specific extensions to
BindingsSpec . |
Modifier and Type | Method and Description |
---|---|
protected Action<? super BindingsSpec> |
ClosureBackedEmbeddedApplication.createBindingsAction()
Provides the module registry configuration action.
|
Modifier and Type | Class and Description |
---|---|
class |
BindingsSpecAction
Convenient base for
Action<BindingsSpec> implementations. |
Modifier and Type | Method and Description |
---|---|
protected BindingsSpec |
BindingsSpecAction.getBindingsSpec() |
Modifier and Type | Method and Description |
---|---|
void |
BindingsSpecAction.execute(BindingsSpec bindingsSpec)
Delegates to
BindingsSpecAction.execute() , using the given chain for delegation. |
Modifier and Type | Method and Description |
---|---|
Handler |
GuiceBackedHandlerFactory.create(Action<? super BindingsSpec> modulesAction,
Function<? super Module,? extends Injector> moduleTransformer,
Function<? super Injector,? extends Handler> handler) |
static Handler |
Guice.handler(LaunchConfig launchConfig,
Action<? super BindingsSpec> moduleConfigurer,
Action<? super Chain> chainConfigurer)
Creates a handler that can be used as the entry point for a Guice backed Ratpack app.
|
static Handler |
Guice.handler(LaunchConfig launchConfig,
Action<? super BindingsSpec> moduleConfigurer,
Function<? super Injector,? extends Handler> injectorTransformer)
Creates a handler that can be used as the entry point for a Guice backed Ratpack app.
|
static Handler |
Guice.handler(LaunchConfig launchConfig,
Injector parentInjector,
Action<? super BindingsSpec> moduleConfigurer,
Action<? super Chain> chainConfigurer)
Creates a handler that can be used as the entry point for a Guice backed Ratpack app.
|
static Handler |
Guice.handler(LaunchConfig launchConfig,
Injector parentInjector,
Action<? super BindingsSpec> moduleConfigurer,
Function<? super Injector,? extends Handler> injectorTransformer)
Creates a handler that can be used as the entry point for a Guice backed Ratpack app.
|