|
Restlet Framework 2.2.2 Java Enterprise Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.guice.RestletGuice
public class RestletGuice
Guice dependency injection for Restlet.
Nested Class Summary | |
---|---|
static class |
RestletGuice.Module
A Guice module that implements FinderFactory . |
Constructor Summary | |
---|---|
RestletGuice()
|
Method Summary | |
---|---|
static com.google.inject.Injector |
createInjector(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,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RestletGuice()
Method Detail |
---|
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(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, 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.
|
Restlet Framework 2.2.2 Java Enterprise Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |