Class AutoWiringModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opendaylight.infrautils.inject.guice.AbstractCheckedModule
-
- org.opendaylight.infrautils.inject.guice.AutoWiringModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class AutoWiringModule extends AbstractCheckedModule
Guice Module with classpath scanning based autowiring.- Author:
- Michael Vorburger.ch
-
-
Field Summary
Fields Modifier and Type Field Description protected GuiceClassPathBinder
classPathBinder
-
Constructor Summary
Constructors Constructor Description AutoWiringModule(GuiceClassPathBinder classPathBinder, String packagePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkedConfigure()
protected void
configureMore()
-
Methods inherited from class org.opendaylight.infrautils.inject.guice.AbstractCheckedModule
configure
-
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
-
-
-
-
Field Detail
-
classPathBinder
protected final GuiceClassPathBinder classPathBinder
-
-
Constructor Detail
-
AutoWiringModule
public AutoWiringModule(GuiceClassPathBinder classPathBinder, String packagePrefix)
-
-
Method Detail
-
checkedConfigure
protected final void checkedConfigure() throws Exception
- Specified by:
checkedConfigure
in classAbstractCheckedModule
- Throws:
Exception
-
-