C - the type of AdsServiceClientS - the type of AdsSessionD - the type of AdsServiceDescriptorpublic abstract class BaseServices<C extends AdsServiceClient<S,D>,S extends AdsSession,D extends AdsServiceDescriptor> extends Object implements AdsServicesInterface<S>
| Modifier | Constructor and Description |
|---|---|
protected |
BaseServices(BaseAdsServiceClientFactory<C,S,D> factory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(S session,
Class<T> interfaceClass)
Gets a client for the service represented by the interface with a reference to the session.
|
protected BaseServices(BaseAdsServiceClientFactory<C,S,D> factory)
factory - a factory capable of instantiating service clientspublic <T> T get(S session, Class<T> interfaceClass)
AdsServicesInterfaceThere is no guarantee that the objects returned by this method are thread-safe.
get in interface AdsServicesInterface<S extends AdsSession>T - the service typesession - your current sessioninterfaceClass - the service interface class representing a SOAP serviceCopyright © 2020. All Rights Reserved.