|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfa.lib.client.DfaServiceDescriptor
public class DfaServiceDescriptor
DfaServiceDescriptor provides a class which defines a service that
can be instantiated through reflection.
| Constructor Summary | |
|---|---|
DfaServiceDescriptor(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()
Generates the locator class for this service by using reflection. |
protected String |
getServiceName()
Generates the name of this service by using reflection. |
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 DfaServiceDescriptor(Class<?> interfaceClass,
String version)
interfaceClass - the Class<?> object of the requested
interfaceClassversion - the version of the service| Method Detail |
|---|
public Class<?> getInterfaceClass()
AdsServiceDescriptor
getInterfaceClass in interface AdsServiceDescriptorgetInterfaceClass in interface SoapServiceDescriptorAdsServiceDescriptor.getInterfaceClass()
public Class<?> getLocatorClass()
throws ClassNotFoundException
getLocatorClass in interface AxisCompatibleClass<? extends Service> representing the locator
ClassNotFoundException - if the formulated locator class name name
could not be foundprotected String getServiceName()
public String getEndpointAddress(String endpointServer)
AdsServiceDescriptor
getEndpointAddress in interface AdsServiceDescriptorgetEndpointAddress in interface SoapServiceDescriptorAdsServiceDescriptor.getEndpointAddress(String)public String getVersion()
AdsServiceDescriptor
getVersion in interface AdsServiceDescriptorAdsServiceDescriptor.getVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||