PrivateModule for details.
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public Set | |
| public Object | getExposedSource(Key<?>
one of the keys exposed by this module. key)Returns an arbitrary object containing information about the "place" where this key was exposed. |
| public Injector | getInjector()
Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector. |
| getElements | back to summary |
|---|---|
| public List Returns the configuration information in this private environment. | |
| getExposedKeys | back to summary |
|---|---|
| public Set Returns the unique exposed keys for these private elements. | |
| getExposedSource | back to summary |
|---|---|
| public Object getExposedSource(Key<?> key) Returns an arbitrary object containing information about the "place" where this key was exposed. Used by Guice in the production of descriptive error messages. Tools might specially handle types they know about;
| |
| getInjector | back to summary |
|---|---|
| public Injector getInjector() Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector. | |