C
- the type of AdsServiceClient
S
- the type of AdsSession
D
- the type of AdsServiceDescriptor
public abstract class BaseServices<C extends AdsServiceClient<S,D>,S extends AdsSession,D extends AdsServiceDescriptor> extends Object
Modifier | Constructor and Description |
---|---|
protected |
BaseServices(BaseAdsServiceClientFactory<C,S,D> factory)
Constructor.
|
protected BaseServices(BaseAdsServiceClientFactory<C,S,D> factory)
factory
- a factory capable of instantiating service clientspublic <T> T get(S session, Class<T> interfaceClass)
The objects returned by this method are not thread-safe.
T
- the service typesession
- your current sessioninterfaceClass
- the service interface class. This is a class
representing a SOAP serviceCopyright © 2015. All Rights Reserved.