Class AbstractCheckedModule
java.lang.Object
com.google.inject.AbstractModule
org.opendaylight.infrautils.inject.guice.testutils.AbstractCheckedModule
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
AbstractGuiceJsr250Module
Deprecated.
Use org.opendaylight.infrautils.inject.guice.AbstractCheckedModule instead.
Convenience Guice module support class with configure method that allows
throwing checked exceptions, which are caught and re-thrown as unchecked
ModuleSetupRuntimeException.- Author:
- Michael Vorburger.ch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidDeprecated.protected final voidDeprecated.Configures aBindervia the exposed methods.Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
AbstractCheckedModule
public AbstractCheckedModule()Deprecated.
-
-
Method Details
-
configure
protected final void configure() throws org.opendaylight.infrautils.inject.ModuleSetupRuntimeExceptionDeprecated.Configures aBindervia the exposed methods.- Overrides:
configurein classcom.google.inject.AbstractModule- Throws:
org.opendaylight.infrautils.inject.ModuleSetupRuntimeException- if binding failed
-
checkedConfigure
Deprecated.- Throws:
Exception
-