Skip navigation links
A B C D G H I J N P R 

A

add(Module) - Method in interface ratpack.guice.BindingsSpec
Adds the bindings from the given modules.
add(Class<? extends Module>) - Method in interface ratpack.guice.BindingsSpec
 
add(Class<T>, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
 

B

bind(Class<?>) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given type.
bind(Class<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given public type, to the given implementation type.
binder(Action<? super Binder>) - Method in interface ratpack.guice.BindingsSpec
Adds bindings by directly configuring a Binder.
bindings(Action<? super BindingsSpec>) - Method in interface ratpack.guice.Guice.Builder
 
BindingsSpec - Interface in ratpack.guice
A buildable specification of Guice bindings.
bindInstance(Class<? super T>, T) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given public type, to the given implementing instance.
bindInstance(T) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given object to its concrete type.
build(Action<? super Chain>) - Method in interface ratpack.guice.Guice.Builder
 
builder(LaunchConfig) - Static method in class ratpack.guice.Guice
 

C

config(Class<T>, Consumer<? super T>) - Method in interface ratpack.guice.BindingsSpec
Retrieves the module that has been added with the given type for configuration.
ConfigurableModule<T> - Class in ratpack.guice
Provides a standard approach for modules that require some parametrization / configuration.
ConfigurableModule() - Constructor for class ratpack.guice.ConfigurableModule
 
configure(Action<? super T>) - Method in class ratpack.guice.ConfigurableModule
Registers the configuration action.
create(Action<? super BindingsSpec>, Function<? super Module, ? extends Injector>, Function<? super Injector, ? extends Handler>) - Method in interface ratpack.guice.GuiceBackedHandlerFactory
 
createConfig(LaunchConfig) - Method in class ratpack.guice.ConfigurableModule
Creates the configuration object.

D

decorate(Injector, Handler) - Method in interface ratpack.guice.HandlerDecoratingModule
Decorate the given handler with any global logic.
defaultConfig(LaunchConfig, T) - Method in class ratpack.guice.ConfigurableModule
Hook for applying any default configuration to the configuration object created by ConfigurableModule.createConfig(LaunchConfig).

G

getLaunchConfig() - Method in interface ratpack.guice.BindingsSpec
The launch config for the application.
Guice - Class in ratpack.guice
Static utility methods for creating Google Guice based Ratpack infrastructure.
Guice.Builder - Interface in ratpack.guice
 
GuiceBackedHandlerFactory - Interface in ratpack.guice
 

H

HandlerDecoratingModule - Interface in ratpack.guice
A Guice module that contributes to the default handler setup.

I

init(Action<? super Injector>) - Method in interface ratpack.guice.BindingsSpec
Registers an action to operate on the injector when it has been finalized.
init(Class<? extends Runnable>) - Method in interface ratpack.guice.BindingsSpec
Registers a runnable to instantiated via dependency injection when the injector is created from this module registry.

J

justInTimeRegistry(Injector) - Static method in class ratpack.guice.Guice
Creates a Ratpack Registry backed by the given Injector that will create objects via “just-in-time” binding.

N

newInjectorFactory(LaunchConfig) - Static method in class ratpack.guice.Guice
Creates a transformer that can build an injector from a module.
NoSuchModuleException - Exception in ratpack.guice
Thrown by BindingsSpec.config(Class, java.util.function.Consumer) when attempt to retrieve a module that doesn't exist.
NoSuchModuleException(Class<? extends Module>) - Constructor for exception ratpack.guice.NoSuchModuleException
Constructor.

P

parent(Injector) - Method in interface ratpack.guice.Guice.Builder
 
provider(Class<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given public type, to the given provider.
providerType(Class<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given public type, to the given provider type.

R

ratpack.guice - package ratpack.guice
Integration with Google Guice.
registry(Injector) - Static method in class ratpack.guice.Guice
Creates a Ratpack Registry backed by the given Injector that will NOT create objects via “just-in-time” binding.
A B C D G H I J N P R 
Skip navigation links