public class DfpServiceDescriptor extends Object implements AdsServiceDescriptor, AxisCompatible, JaxWsCompatible
DfpServiceDescriptor
provides a class which defines a service
that can be instantiated through reflection.Constructor and Description |
---|
DfpServiceDescriptor(Class<?> interfaceClass,
String version)
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.
|
Class<?> |
getServiceClass()
Gets the JAX-WS service class such that it can be instantiated to create
an JAX-WS service client.
|
String |
getVersion()
Gets the version for this service.
|
public Class<?> getInterfaceClass() throws ServiceException
AdsServiceDescriptor
getInterfaceClass
in interface AdsServiceDescriptor
getInterfaceClass
in interface SoapServiceDescriptor
ServiceException
- if the interface could not be retrieved.AdsServiceDescriptor.getInterfaceClass()
public String getEndpointAddress(String endpointServer) throws MalformedURLException
AdsServiceDescriptor
getEndpointAddress
in interface AdsServiceDescriptor
getEndpointAddress
in interface SoapServiceDescriptor
MalformedURLException
AdsServiceDescriptor.getEndpointAddress(String)
public String getVersion()
AdsServiceDescriptor
getVersion
in interface AdsServiceDescriptor
AdsServiceDescriptor.getVersion()
public Class<?> getLocatorClass() throws ClassNotFoundException
AxisCompatible
getLocatorClass
in interface AxisCompatible
ClassNotFoundException
- if no locator class can be foundAxisCompatible.getLocatorClass()
public Class<?> getServiceClass() throws ClassNotFoundException
JaxWsCompatible
getServiceClass
in interface JaxWsCompatible
ClassNotFoundException
- if no service class can be foundJaxWsCompatible.getServiceClass()
Copyright © 2018. All Rights Reserved.