public interface DependencyBootstrapper
AdWordsSession
.Modifier and Type | Method and Description |
---|---|
<T> T |
getInstanceOf(AdWordsSession session,
Class<T> dependencyClass)
Returns an instance of
dependencyClass , bound to the provided session. |
<T> T getInstanceOf(AdWordsSession session, Class<T> dependencyClass)
dependencyClass
, bound to the provided session.IllegalArgumentException
- if dependencyClass
is annotated with SessionUtility
. For types with that annotation, use
AdWordsServicesInterface.getUtility(AdWordsSession, Class)
instead.AdWordsServicesInterface.getUtility(AdWordsSession, Class)
Copyright © 2018. All Rights Reserved.