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 public abstract class AbstractCheckedModule extends com.google.inject.AbstractModule
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 uncheckedModuleSetupRuntimeException.- Author:
- Michael Vorburger.ch
-
-
Constructor Summary
Constructors Constructor Description AbstractCheckedModule()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract voidcheckedConfigure()Deprecated.protected voidconfigure()Deprecated.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, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected final void configure() throws ModuleSetupRuntimeExceptionDeprecated.Configures aBindervia the exposed methods.- Overrides:
configurein classcom.google.inject.AbstractModule- Throws:
ModuleSetupRuntimeException- if binding failed
-
-