Spring Integration

org.springframework.integration.twitter.oauth
Class OAuthConfigurationFactoryBean

java.lang.Object
  extended by org.springframework.integration.twitter.oauth.OAuthConfigurationFactoryBean
All Implemented Interfaces:
FactoryBean<OAuthConfiguration>

public class OAuthConfigurationFactoryBean
extends Object
implements FactoryBean<OAuthConfiguration>

Center piece for configuration for all the twitter adapters

Since:
2.0
Author:
Josh Long

Field Summary
static String WELL_KNOWN_CONSUMER_ACCESS_TOKEN
           
static String WELL_KNOWN_CONSUMER_ACCESS_TOKEN_SECRET
           
static String WELL_KNOWN_CONSUMER_KEY
           
static String WELL_KNOWN_CONSUMER_KEY_SECRET
           
 
Constructor Summary
OAuthConfigurationFactoryBean()
           
 
Method Summary
protected  void bootstrapFromProperties(Properties props)
           
 OAuthConfiguration getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setAccessToken(String accessToken)
           
 void setAccessTokenSecret(String accessTokenSecret)
           
 void setConsumerKey(String consumerKey)
           
 void setConsumerSecret(String consumerSecret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WELL_KNOWN_CONSUMER_KEY

public static final String WELL_KNOWN_CONSUMER_KEY
See Also:
Constant Field Values

WELL_KNOWN_CONSUMER_KEY_SECRET

public static final String WELL_KNOWN_CONSUMER_KEY_SECRET
See Also:
Constant Field Values

WELL_KNOWN_CONSUMER_ACCESS_TOKEN

public static final String WELL_KNOWN_CONSUMER_ACCESS_TOKEN
See Also:
Constant Field Values

WELL_KNOWN_CONSUMER_ACCESS_TOKEN_SECRET

public static final String WELL_KNOWN_CONSUMER_ACCESS_TOKEN_SECRET
See Also:
Constant Field Values
Constructor Detail

OAuthConfigurationFactoryBean

public OAuthConfigurationFactoryBean()
Method Detail

bootstrapFromProperties

protected void bootstrapFromProperties(Properties props)
                                throws Throwable
Throws:
Throwable

getObject

public OAuthConfiguration getObject()
                             throws Exception
Specified by:
getObject in interface FactoryBean<OAuthConfiguration>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<OAuthConfiguration>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<OAuthConfiguration>

setConsumerKey

public void setConsumerKey(String consumerKey)

setConsumerSecret

public void setConsumerSecret(String consumerSecret)

setAccessToken

public void setAccessToken(String accessToken)

setAccessTokenSecret

public void setAccessTokenSecret(String accessTokenSecret)

Spring Integration

Copyright © 2010. All Rights Reserved.