|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.lib.client.DfpServiceDescriptor
public class DfpServiceDescriptor
DfpServiceDescriptor provides a class which defines a service
that can be instantiated through reflection.
| Constructor Summary | |
|---|---|
DfpServiceDescriptor(Class<?> interfaceClass,
String version)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
Class<?> |
getServiceClass()
Gets the JAX-WS service class such that it can be instantiated to create an JAX-WS service client. |
Class<?> |
getStubClass()
Gets the Axis2 stub class such that it can be instantiated to create an Axis2 service client. |
String |
getVersion()
Gets the version for this service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
public DfpServiceDescriptor(Class<?> interfaceClass,
String version)
interfaceClass - the Class<?> object of the requested
interfaceClassversion - the version of the service| Method Detail |
|---|
public Class<?> getInterfaceClass()
throws ServiceException
AdsServiceDescriptor
getInterfaceClass in interface AdsServiceDescriptorgetInterfaceClass in interface SoapServiceDescriptorServiceException - if the interface could not be retrieved.AdsServiceDescriptor.getInterfaceClass()
public String getEndpointAddress(String endpointServer)
throws MalformedURLException
AdsServiceDescriptor
getEndpointAddress in interface AdsServiceDescriptorgetEndpointAddress in interface SoapServiceDescriptorMalformedURLExceptionAdsServiceDescriptor.getEndpointAddress(String)public String getVersion()
AdsServiceDescriptor
getVersion in interface AdsServiceDescriptorAdsServiceDescriptor.getVersion()
public Class<?> getStubClass()
throws ClassNotFoundException
Axis2Compatible
getStubClass in interface Axis2CompatibleClassNotFoundException - if no stub class can be foundAxis2Compatible.getStubClass()
public Class<?> getLocatorClass()
throws ClassNotFoundException
AxisCompatible
getLocatorClass in interface AxisCompatibleClassNotFoundException - if no locator class can be foundAxisCompatible.getLocatorClass()
public Class<?> getServiceClass()
throws ClassNotFoundException
JaxWsCompatible
getServiceClass in interface JaxWsCompatibleClassNotFoundException - if no service class can be foundJaxWsCompatible.getServiceClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||