C - the subclass of AdsServiceClientD - the subclass of AdsServiceDescriptorS - the subclass of AdsSessionH - the subclass of AdsServiceClientFactoryHelperpublic class FactoryModule<C extends AdsServiceClient<S,D>,D extends AdsServiceDescriptor,S extends AdsSession,H extends AdsServiceClientFactoryHelper<C,S,D>>
extends com.google.inject.AbstractModule
| Modifier and Type | Class and Description |
|---|---|
static interface |
FactoryModule.AdsServiceClientFactoryInterface<C extends AdsServiceClient<S,D>,S extends AdsSession,D extends AdsServiceDescriptor>
Factory interface class to create
AdsServiceClient. |
static interface |
FactoryModule.AdsServiceDescriptorFactoryInterface<D extends AdsServiceDescriptor>
Factory interface class to create
AdsServiceDescriptor. |
| Constructor and Description |
|---|
FactoryModule(com.google.inject.TypeLiteral adsServiceClientFactoryTypeLiteral,
com.google.inject.TypeLiteral adsServiceDescriptorFactoryTypeLiteral,
com.google.inject.TypeLiteral adsServiceClientTypeLiteral,
com.google.inject.TypeLiteral adsServiceDescriptorTypeLiteral,
Class<H> factoryHelperClass,
Class<?> factoryClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic FactoryModule(com.google.inject.TypeLiteral adsServiceClientFactoryTypeLiteral,
com.google.inject.TypeLiteral adsServiceDescriptorFactoryTypeLiteral,
com.google.inject.TypeLiteral adsServiceClientTypeLiteral,
com.google.inject.TypeLiteral adsServiceDescriptorTypeLiteral,
Class<H> factoryHelperClass,
Class<?> factoryClass)
adsServiceClientFactoryTypeLiteral - the factory type literal which
contains a FactoryModule.AdsServiceClientFactoryInterfaceadsServiceDescriptorFactoryTypeLiteral - the factory type literal
which contains a FactoryModule.AdsServiceDescriptorFactoryInterfaceadsServiceClientTypeLiteral - the ads service client literal which
contains a AdsServiceClientadsServiceDescriptorTypeLiteral - the ads service descriptor literal
which contains a AdsServiceDescriptorfactoryHelperClass - the factory helper classfactoryClass - the factory classCopyright © 2015. All Rights Reserved.