|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
C - the subclass of AdsServiceClientS - the subclass of AdsSessionD - the subclass of AdsServiceDescriptorpublic interface AdsServiceClientFactoryHelper<C extends AdsServiceClient<S,D>,S extends AdsSession,D extends AdsServiceDescriptor>
Interface for helpers of factories which creates ads service clients.
| Method Summary | |
|---|---|
C |
createAdsServiceClient(D adsServiceDescriptor,
S adsSession)
Creates an AdsServiceClient for the descriptor, session, and
endpoint. |
D |
createServiceDescriptor(Class<?> interfaceClass,
String version)
Creates an AdsServiceDescriptor for a specified service. |
String |
determineVersion(Class<?> interfaceClass)
Determines what API version an ads service belongs to. |
| Method Detail |
|---|
D createServiceDescriptor(Class<?> interfaceClass,
String version)
AdsServiceDescriptor for a specified service.
interfaceClass - the ads service that we want a descriptor forversion - of the service
C createAdsServiceClient(D adsServiceDescriptor,
S adsSession)
throws ServiceException
AdsServiceClient for the descriptor, session, and
endpoint.
adsServiceDescriptor - the ads service descriptoradsSession - the session
ServiceException - if there was a problem creating the clientString determineVersion(Class<?> interfaceClass)
interfaceClass - the interface class of the service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||