|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceFactory
public class LinkedInOAuthServiceFactory
A factory for creating LinkedInOAuthService objects.
Field Summary | |
---|---|
private static LinkedInOAuthServiceFactory |
instance
The instance. |
Constructor Summary | |
---|---|
private |
LinkedInOAuthServiceFactory()
Instantiates a new linked in o auth service factory. |
Method Summary | |
---|---|
LinkedInOAuthService |
createLinkedInOAuthService(LinkedInApiConsumer apiConsumer)
Creates a new LinkedInOAuthService object. |
LinkedInOAuthService |
createLinkedInOAuthService(java.lang.String consumerKey,
java.lang.String consumerSecret)
Creates a new LinkedInOAuthService object. |
static LinkedInOAuthServiceFactory |
getInstance()
Gets the single instance of LinkedInOAuthServiceFactory. |
private void |
validateConsumerKey(LinkedInApiConsumer apiConsumer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static LinkedInOAuthServiceFactory instance
Constructor Detail |
---|
private LinkedInOAuthServiceFactory()
Method Detail |
---|
public static LinkedInOAuthServiceFactory getInstance()
public LinkedInOAuthService createLinkedInOAuthService(java.lang.String consumerKey, java.lang.String consumerSecret)
consumerKey
- the consumer keyconsumerSecret
- the consumer secret
public LinkedInOAuthService createLinkedInOAuthService(LinkedInApiConsumer apiConsumer)
apiConsumer
- the api consumer
private void validateConsumerKey(LinkedInApiConsumer apiConsumer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |