com.licorize.api.client.oauth
Class LicorizeOauthServiceFactory

java.lang.Object
  extended by com.licorize.api.client.oauth.LicorizeOauthServiceFactory

public class LicorizeOauthServiceFactory
extends java.lang.Object

A factory for creating LicorizeOAuthService objects.

Author:
Federico Soldani - fsoldani@open-lab.com

Method Summary
 LicorizeOauthService createLicorizeOAuthService(org.scribe.oauth.OAuthService oauthService)
          Creates a new LicorizeOauthService object.
 LicorizeOauthService createLicorizeOAuthService(java.lang.String consumerKey, java.lang.String consumerSecret)
          Creates a new LicorizeOAuthService object.
static LicorizeOauthServiceFactory getInstance()
          Gets the single instance of LicorizeOauthServiceFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LicorizeOauthServiceFactory getInstance()
Gets the single instance of LicorizeOauthServiceFactory.

Returns:
single instance of LicorizeOauthServiceFactory

createLicorizeOAuthService

public LicorizeOauthService createLicorizeOAuthService(java.lang.String consumerKey,
                                                       java.lang.String consumerSecret)
Creates a new LicorizeOAuthService object.

Parameters:
consumerKey - the consumer key
consumerSecret - the consumer secret
Returns:
the Licorize o auth service

createLicorizeOAuthService

public LicorizeOauthService createLicorizeOAuthService(org.scribe.oauth.OAuthService oauthService)
Creates a new LicorizeOauthService object.

Parameters:
oauthService - the api consumer
Returns:
the Licorize o auth service


Copyright © 2010. All Rights Reserved.