org.springframework.integration.twitter.oauth
Class OAuthConfigurationFactoryBean
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
OAuthConfigurationFactoryBean
public OAuthConfigurationFactoryBean()
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)
Copyright © 2010. All Rights Reserved.