Package | Description |
---|---|
com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
|
com.google.inject.grapher | |
com.google.inject.internal |
Guice (sounds like like "juice")
|
com.google.inject.servlet |
Servlet API scopes, bindings and registration; this extension requires
guice-servlet-3.0.jar . |
com.google.inject.spi |
Guice service provider interface
|
com.google.inject.tools.jmx |
JMX integration; this extension requires
guice-jmx-3.0.jar . |
Modifier and Type | Method and Description |
---|---|
Injector |
Injector.createChildInjector(Iterable<? extends Module> modules)
Returns a new injector that inherits all state from this injector.
|
Injector |
Injector.createChildInjector(Module... modules)
Returns a new injector that inherits all state from this injector.
|
static Injector |
Guice.createInjector(Iterable<? extends Module> modules)
Creates an injector for the given set of modules.
|
static Injector |
Guice.createInjector(Module... modules)
Creates an injector for the given set of modules.
|
static Injector |
Guice.createInjector(Stage stage,
Iterable<? extends Module> modules)
Creates an injector for the given set of modules, in a given development
stage.
|
static Injector |
Guice.createInjector(Stage stage,
Module... modules)
Creates an injector for the given set of modules, in a given development
stage.
|
Injector |
Injector.getParent()
Returns this injector's parent, or
null if this is a top-level injector. |
Modifier and Type | Method and Description |
---|---|
InjectorGrapher |
InjectorGrapher.of(Injector injector)
Sets the
Injector to graph. |
Modifier and Type | Method and Description |
---|---|
Injector |
InternalInjectorCreator.build() |
Injector |
PrivateElementsImpl.getInjector() |
Modifier and Type | Method and Description |
---|---|
void |
PrivateElementsImpl.initInjector(Injector injector) |
Modifier and Type | Method and Description |
---|---|
protected abstract Injector |
GuiceServletContextListener.getInjector()
Override this method to create (or otherwise obtain a reference to) your
injector.
|
Modifier and Type | Method and Description |
---|---|
Injector |
PrivateElements.getInjector()
Returns the child injector that hosts these private elements, or null if the elements haven't
been used to create an injector.
|
Modifier and Type | Method and Description |
---|---|
static void |
Manager.manage(MBeanServer server,
String domain,
Injector injector)
Registers all the bindings of an Injector with the given MBean server.
|
static void |
Manager.manage(String domain,
Injector injector)
Registers all the bindings of an Injector with the platform MBean server.
|
Copyright © 2006-2012 Google, Inc.. All Rights Reserved.