public abstract class ExtensionLoaderModule<T>
extends com.google.inject.AbstractModule
Bindings inside Injector
from a discovered extension.ExtensionPoint| Modifier and Type | Field and Description |
|---|---|
protected Class<T> |
extensionPoint
The type of the extension point.
|
protected Class<? extends T> |
impl
The type of the extension implementation discovered.
|
| Constructor and Description |
|---|
ExtensionLoaderModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Class<? extends T> impl,
Class<T> extensionPoint)
Called by
ExtensionFinder to initialize this module. |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic void init(Class<? extends T> impl, Class<T> extensionPoint)
ExtensionFinder to initialize this module.Copyright © 2011-2013. All Rights Reserved.