S
- the service interface class. This is a class representing a SOAP service.
Implementation is not thread-safe, because AdWordsSession and Apache Axis service objects are not thread-safe.
public abstract class AbstractBaseDelegate<S> extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractBaseDelegate(AdWordsSession adWordsSession,
Class<S> classS)
Default Constructor.
|
protected |
AbstractBaseDelegate(AdWordsSession adWordsSession,
S service)
Constructor with Service instance.
|
Modifier and Type | Method and Description |
---|---|
protected AdWordsSession |
getAdWordsSession()
Gets the
adWordsSession associated with the service. |
S |
getService()
Gets the service interface class for the SOAP service.
|
protected AbstractBaseDelegate(AdWordsSession adWordsSession, Class<S> classS)
adWordsSession
- the adWordsSession
to use with the serviceclassS
- the service interface class for the SOAP serviceprotected AbstractBaseDelegate(AdWordsSession adWordsSession, S service)
adWordsSession
- the adWordsSession
to use with the serviceservice
- the custom service class for the SOAP serviceprotected AdWordsSession getAdWordsSession()
adWordsSession
associated with the service.public S getService()
Copyright © 2015. All Rights Reserved.