public class AdapterInjectionSupport
extends com.google.inject.AbstractModule
Binder.install(Module)
) to enable support for injection of adapters
into IAdaptable
s. The adapters that are to be injected can be
configured through respective adapter (map) bindings (see AdapterMap
). Injection is performed on all IAdaptable
s that are eligible for
adapter injection (see InjectAdapters
).Constructor and Description |
---|
AdapterInjectionSupport() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Binds an
AdaptableTypeListener (via
AbstractModule.bindListener(Matcher, TypeListener) ) and ensures it gets
properly injected (AbstractModule.requestInjection(Object) ). |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void configure()
AdaptableTypeListener
(via
AbstractModule.bindListener(Matcher, TypeListener)
) and ensures it gets
properly injected (AbstractModule.requestInjection(Object)
).configure
in class com.google.inject.AbstractModule
Copyright (c) 2014 itemis AG and others. All rights reserved.