public class RestletGuice
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RestletGuice.Module
A Guice module that implements
FinderFactory . |
Constructor and Description |
---|
RestletGuice() |
Modifier and Type | Method and Description |
---|---|
static com.google.inject.Injector |
createInjector(java.lang.Iterable<com.google.inject.Module> modules)
Creates an instance of
Injector from the given modules with
FinderFactory bound to an implementation that uses the injector's
bindings to create Finder instances. |
static com.google.inject.Injector |
createInjector(com.google.inject.Module... modules)
Creates an instance of
Injector from the given modules with
FinderFactory bound to an implementation that uses the injector's
bindings to create Finder instances. |
static com.google.inject.Injector |
createInjector(com.google.inject.Stage stage,
java.lang.Iterable<com.google.inject.Module> modules)
Creates an instance of
Injector in the given Stage from
the given modules with FinderFactory bound to an implementation
that uses the injector's bindings to create Finder instances. |
static com.google.inject.Injector |
createInjector(com.google.inject.Stage stage,
com.google.inject.Module... modules)
Creates an instance of
Injector in the given Stage from
the given modules with FinderFactory bound to an implementation
that uses the injector's bindings to create Finder instances. |
public static com.google.inject.Injector createInjector(com.google.inject.Module... modules)
Injector
from the given modules with
FinderFactory
bound to an implementation that uses the injector's
bindings to create Finder instances.modules
- The list of modules.public static com.google.inject.Injector createInjector(java.lang.Iterable<com.google.inject.Module> modules)
Injector
from the given modules with
FinderFactory
bound to an implementation that uses the injector's
bindings to create Finder instances.modules
- The collection of modules.public static com.google.inject.Injector createInjector(com.google.inject.Stage stage, com.google.inject.Module... modules)
Injector
in the given Stage
from
the given modules with FinderFactory
bound to an implementation
that uses the injector's bindings to create Finder
instances.stage
- The Stage
.modules
- The list of modules.public static com.google.inject.Injector createInjector(com.google.inject.Stage stage, java.lang.Iterable<com.google.inject.Module> modules)
Injector
in the given Stage
from
the given modules with FinderFactory
bound to an implementation
that uses the injector's bindings to create Finder
instances.stage
- The Stage
.modules
- The list of modules.Copyright © 2005-2020 Restlet.