Skip navigation links
A B C D E G M N O P R S 

A

add(TypeToken<O>, O) - Method in interface ratpack.guice.BindingsSpec
 
addLazy(TypeToken<O>, Supplier<? extends O>) - 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.
bind(TypeToken<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
bind(TypeLiteral<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
binder(Action<? super Binder>) - Method in interface ratpack.guice.BindingsSpec
Adds bindings by directly configuring a Binder.
BindingsImposition - Class in ratpack.guice
An imposition of additional and overridden Guice bindings, used by Guice.registry(Action) and similar methods.
BindingsSpec - Interface in ratpack.guice
A buildable specification of Guice bindings.
bindInstance(TypeLiteral<? super T>, T) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given public type, to the given implementing instance.
bindInstance(TypeToken<? super T>, T) - Method in interface ratpack.guice.BindingsSpec
 
bindInstance(Class<? super T>, T) - Method in interface ratpack.guice.BindingsSpec
 
bindInstance(T) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given object to its concrete type.

C

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.
createConfig(ServerConfig) - Method in class ratpack.guice.ConfigurableModule
Creates the configuration object.

D

defaultConfig(ServerConfig, T) - Method in class ratpack.guice.ConfigurableModule
Hook for applying any default configuration to the configuration object created by ConfigurableModule.createConfig(ServerConfig).

E

ExecutionScoped - Annotation Type in ratpack.guice
 

G

getBindings() - Method in class ratpack.guice.BindingsImposition
The bindings to add/override.
getServerConfig() - 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.

M

module(Module) - Method in interface ratpack.guice.BindingsSpec
Adds the bindings from the given module.
module(Class<? extends Module>) - Method in interface ratpack.guice.BindingsSpec
Adds the bindings from the given module.
module(Class<T>, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
Adds the bindings from the given configurable module.
module(ConfigurableModule<C>, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
Adds the bindings from the given configurable module.
moduleConfig(Class<T>, C, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
Adds the bindings from the given configurable module.
moduleConfig(Class<T>, C) - Method in interface ratpack.guice.BindingsSpec
 
moduleConfig(ConfigurableModule<C>, C, Action<? super C>) - Method in interface ratpack.guice.BindingsSpec
Adds the bindings from the given configurable module.
moduleConfig(T, C) - Method in interface ratpack.guice.BindingsSpec
 
multiBind(Class<T>) - Method in interface ratpack.guice.BindingsSpec
 
multiBind(TypeLiteral<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
multiBind(Class<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
multiBind(TypeToken<T>, Class<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
multiBinder(TypeToken<T>, Action<? super Multibinder<T>>) - Method in interface ratpack.guice.BindingsSpec
 
multiBinder(TypeLiteral<T>, Action<? super Multibinder<T>>) - Method in interface ratpack.guice.BindingsSpec
 
multiBinder(Class<T>, Action<? super Multibinder<T>>) - Method in interface ratpack.guice.BindingsSpec
 
multiBindInstance(Class<T>, T) - Method in interface ratpack.guice.BindingsSpec
 
multiBindInstance(TypeLiteral<T>, T) - Method in interface ratpack.guice.BindingsSpec
 
multiBindInstance(TypeToken<T>, T) - Method in interface ratpack.guice.BindingsSpec
 
multiBindInstance(T) - Method in interface ratpack.guice.BindingsSpec
 
multiBindProvider(TypeLiteral<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
multiBindProvider(TypeToken<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
multiBindProvider(Class<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
multiBindProviderType(Class<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.guice.BindingsSpec
 

N

newInjectorFactory(ServerConfig) - Static method in class ratpack.guice.Guice
 

O

of(Action<? super BindingsSpec>) - Static method in class ratpack.guice.BindingsImposition
Creates a new bindings imposition of the given bindings.

P

provider(TypeLiteral<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
Add a binding for the given public type, to the given provider.
provider(TypeToken<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
provider(Class<T>, Provider<? extends T>) - Method in interface ratpack.guice.BindingsSpec
 
providerType(TypeLiteral<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.
providerType(Class<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.guice.BindingsSpec
 
providerType(TypeToken<T>, Class<? extends Provider<? extends T>>) - Method in interface ratpack.guice.BindingsSpec
 

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.
registry(Action<? super BindingsSpec>) - Static method in class ratpack.guice.Guice
 
registry(Injector, Action<? super BindingsSpec>) - Static method in class ratpack.guice.Guice
 
RequestScoped - Annotation Type in ratpack.guice
 

S

setConfig(T) - Method in class ratpack.guice.ConfigurableModule
Sets the config object for this module.
A B C D E G M N O P R S 
Skip navigation links