类 ComponentScanModule
java.lang.Object
com.google.inject.AbstractModule
com.ksptooi.guice.compomentscan.ComponentScanModule
- 所有已实现的接口:
com.google.inject.Module
public final class ComponentScanModule
extends com.google.inject.AbstractModule
To use this helper module, call install(new ComponentScanModule("com.foo", Named.class); in the configure method of
another module class.
-
构造器概要
构造器构造器说明ComponentScanModule(String packageName) ComponentScanModule(String packageName, Class<? extends Annotation>... bindingAnnotations) -
方法概要
从类继承的方法 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
-
构造器详细资料
-
ComponentScanModule
-
ComponentScanModule
@SafeVarargs public ComponentScanModule(String packageName, Class<? extends Annotation>... bindingAnnotations)
-
-
方法详细资料
-
configure
public void configure()- 覆盖:
configure在类中com.google.inject.AbstractModule
-