org.mule.modules.google.api.client
Class AbstractGoogleClientFactory<T extends com.google.api.client.googleapis.services.GoogleClient>
java.lang.Object
org.mule.modules.google.api.client.AbstractGoogleClientFactory<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- GoogleClientFactory<T>
public abstract class AbstractGoogleClientFactory<T extends com.google.api.client.googleapis.services.GoogleClient>
- extends Object
- implements GoogleClientFactory<T>
- Author:
- mariano.gonzalez@mulesoft.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractGoogleClientFactory
public AbstractGoogleClientFactory()
getClient
public final T getClient(String accessToken,
String applicationName)
- Specified by:
getClient in interface GoogleClientFactory<T extends com.google.api.client.googleapis.services.GoogleClient>
newClient
protected abstract T newClient(com.google.api.client.auth.oauth2.Credential credential,
String accessToken,
String applicationName)
Copyright © 2012. All Rights Reserved.