public abstract class AbstractGuiceJsr250Module extends AbstractCheckedModule
AnnotationsModule
, and handles exceptions as the
AbstractCheckedModule
does.Constructor and Description |
---|
AbstractGuiceJsr250Module() |
Modifier and Type | Method and Description |
---|---|
protected <T> void |
bindTypesToInstance(Class<T> interfaceClass,
Class<? extends T> implementationClass,
T instance)
Binds instance to both the interfaceClass as well as the implementationClass.
|
protected void |
checkedConfigure() |
protected abstract void |
configureBindings() |
configure
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected final void checkedConfigure() throws Exception
checkedConfigure
in class AbstractCheckedModule
Exception
protected <T> void bindTypesToInstance(Class<T> interfaceClass, Class<? extends T> implementationClass, T instance)
T
- type of interfaceClassinterfaceClass
- class type of an interfaceimplementationClass
- class type of implementing classinstance
- an instance implementing both interfaceClass & implementationClassCopyright © 2019 OpenDaylight. All rights reserved.