public class AdWordsServiceDescriptor extends Object implements AdsServiceDescriptor, AxisCompatible, JaxWsCompatible
AdWordsServiceDescriptor provides a class which defines a service
that can be instantiated through reflection.| Modifier and Type | Class and Description |
|---|---|
static class |
AdWordsServiceDescriptor.AdWordsSubProduct
Enumeration of high-level sub products within AdWords.
|
| Constructor and Description |
|---|
AdWordsServiceDescriptor(Class<?> interfaceClass,
String version,
com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration apiConfig)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpointAddress(String endpointServer)
Gets the endpoint address for this service and server.
|
Class<?> |
getInterfaceClass()
Gets the class representing the RPC interface of the service.
|
Class<?> |
getLocatorClass()
Gets the Axis locator class such that it can be instantiated to create
an Axis service client.
|
String |
getPackageGroup()
Gets the package group that the service is in i.e.
|
Class<?> |
getServiceClass()
Gets the JAX-WS service class such that it can be instantiated to create
an JAX-WS service client.
|
AdWordsServiceDescriptor.AdWordsSubProduct |
getSubProduct()
Gets the sub product for this service.
|
String |
getVersion()
Gets the version for this service.
|
@Inject public AdWordsServiceDescriptor(Class<?> interfaceClass, String version, com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration apiConfig)
interfaceClass - the Class<?> object of the requested
interfaceClassversion - the version of the serviceapiConfig - the API configurationpublic Class<?> getInterfaceClass() throws ServiceException
AdsServiceDescriptorgetInterfaceClass in interface AdsServiceDescriptorgetInterfaceClass in interface SoapServiceDescriptorServiceException - if the interface could not be retrieved.AdsServiceDescriptor.getInterfaceClass()public String getEndpointAddress(String endpointServer) throws MalformedURLException
AdsServiceDescriptorgetEndpointAddress in interface AdsServiceDescriptorgetEndpointAddress in interface SoapServiceDescriptorMalformedURLExceptionAdsServiceDescriptor.getEndpointAddress(String)public String getVersion()
AdsServiceDescriptorgetVersion in interface AdsServiceDescriptorAdsServiceDescriptor.getVersion()public Class<?> getLocatorClass() throws ClassNotFoundException
AxisCompatiblegetLocatorClass in interface AxisCompatibleClassNotFoundException - if no locator class can be foundAxisCompatible.getLocatorClass()public Class<?> getServiceClass() throws ClassNotFoundException
JaxWsCompatiblegetServiceClass in interface JaxWsCompatibleClassNotFoundException - if no service class can be foundJaxWsCompatible.getServiceClass()public String getPackageGroup()
public AdWordsServiceDescriptor.AdWordsSubProduct getSubProduct()
Copyright © 2015. All Rights Reserved.