public class

GoogleCalendarConnectorOAuthManager

extends BaseOAuth2Manager<C extends OAuth2Adapter>
java.lang.Object
   ↳ org.mule.security.oauth.callback.DefaultHttpCallbackAdapter
     ↳ org.mule.security.oauth.BaseOAuth2Manager<C extends org.mule.security.oauth.OAuth2Adapter>
       ↳ org.mule.module.google.calendar.oauth.GoogleCalendarConnectorOAuthManager

Class Overview

A GoogleCalendarConnectorOAuthManager is a wrapper around GoogleCalendarConnector that adds access token management capabilities to the pojo.

Summary

Constants
String DEVKIT_BUILD
String DEVKIT_VERSION
String MODULE_NAME
String MODULE_VERSION
[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Disposable
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable
Fields
private static Logger logger
[Expand]
Inherited Fields
From class org.mule.security.oauth.BaseOAuth2Manager
From class org.mule.security.oauth.callback.DefaultHttpCallbackAdapter
Public Constructors
GoogleCalendarConnectorOAuthManager()
Public Methods
String getApplicationName()
Retrieves applicationName
GoogleCalendarClientFactory getClientFactory()
Retrieves clientFactory
String getDevkitBuild()
String getDevkitVersion()
String getModuleName()
String getModuleVersion()
void setApplicationName(String value)
Sets applicationName
void setClientFactory(GoogleCalendarClientFactory value)
Sets clientFactory
void setConsumerKey(String value)
Sets consumerKey
void setConsumerSecret(String value)
Sets consumerSecret
void setOnNoToken(OnNoTokenPolicy policy)
void setScope(String value)
Sets scope
Protected Methods
KeyedPoolableObjectFactory createPoolFactory(OAuth2Manager<OAuth2Adapter> oauthManager, ObjectStore<Serializable> objectStore)
void fetchCallbackParameters(OAuth2Adapter adapter, String response)
Logger getLogger()
OAuth2Adapter instantiateAdapter()
void setCustomProperties(OAuth2Adapter adapter)
[Expand]
Inherited Methods
From class org.mule.security.oauth.BaseOAuth2Manager
From class org.mule.security.oauth.callback.DefaultHttpCallbackAdapter
From class java.lang.Object
From interface org.mule.api.NameableObject
From interface org.mule.api.NamedObject
From interface org.mule.api.context.MuleContextAware
From interface org.mule.api.devkit.ProcessAdapter
From interface org.mule.api.devkit.capability.Capabilities
From interface org.mule.api.lifecycle.Disposable
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable
From interface org.mule.security.oauth.OAuth2Manager
From interface org.mule.security.oauth.OnNoTokenPolicyAware
From interface org.mule.security.oauth.callback.HttpCallbackAdapter

Constants

private static final String DEVKIT_BUILD

Constant Value: "UNNAMED.1937.40b93b4"

private static final String DEVKIT_VERSION

Constant Value: "3.5.0"

private static final String MODULE_NAME

Constant Value: "Google Calendars"

private static final String MODULE_VERSION

Constant Value: "2.0.0-SNAPSHOT"

Fields

private static Logger logger

Public Constructors

public GoogleCalendarConnectorOAuthManager ()

Public Methods

public String getApplicationName ()

Retrieves applicationName

public GoogleCalendarClientFactory getClientFactory ()

Retrieves clientFactory

public String getDevkitBuild ()

public String getDevkitVersion ()

public String getModuleName ()

public String getModuleVersion ()

public void setApplicationName (String value)

Sets applicationName

Parameters
value

public void setClientFactory (GoogleCalendarClientFactory value)

Sets clientFactory

Parameters
value

public void setConsumerKey (String value)

Sets consumerKey

Parameters
value

public void setConsumerSecret (String value)

Sets consumerSecret

Parameters
value

public void setOnNoToken (OnNoTokenPolicy policy)

Parameters
policy

public void setScope (String value)

Sets scope

Parameters
value

Protected Methods

protected KeyedPoolableObjectFactory createPoolFactory (OAuth2Manager<OAuth2Adapter> oauthManager, ObjectStore<Serializable> objectStore)

Parameters
oauthManager
objectStore

protected void fetchCallbackParameters (OAuth2Adapter adapter, String response)

Parameters
adapter
response

protected Logger getLogger ()

protected OAuth2Adapter instantiateAdapter ()

protected void setCustomProperties (OAuth2Adapter adapter)

Parameters
adapter