|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
com.google.api.ads.common.lib.AdsSoapModule<C,D,S>
C - the subclass of AdsServiceClientD - the subclass of AdsServiceDescriptorS - the subclass of AdsSessionpublic class AdsSoapModule<C extends AdsServiceClient<S,D>,D extends AdsServiceDescriptor,S extends AdsSession>
Guice module for common bindings.
| Constructor Summary | |
|---|---|
AdsSoapModule()
|
|
| Method Summary | ||
|---|---|---|
protected void |
configure()
|
|
protected
|
configureFactories(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)
Configures the factories. |
|
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdsSoapModule()
| Method Detail |
|---|
protected void configure()
configure in class com.google.inject.AbstractModule
protected <H extends AdsServiceClientFactoryHelper<C,S,D>> void configureFactories(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)
H - the subclass of AdsServiceClientFactoryHelperadsServiceClientFactoryTypeLiteral - 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 class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||