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 java.lang.Object
- implements FactoryBean<OAuthConfiguration>
Center piece for configuration for all the twitter adapters
- Since:
- 2.0
| 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 java.lang.String WELL_KNOWN_CONSUMER_KEY
- See Also:
- Constant Field Values
WELL_KNOWN_CONSUMER_KEY_SECRET
public static final java.lang.String WELL_KNOWN_CONSUMER_KEY_SECRET
- See Also:
- Constant Field Values
WELL_KNOWN_CONSUMER_ACCESS_TOKEN
public static final java.lang.String WELL_KNOWN_CONSUMER_ACCESS_TOKEN
- See Also:
- Constant Field Values
WELL_KNOWN_CONSUMER_ACCESS_TOKEN_SECRET
public static final java.lang.String WELL_KNOWN_CONSUMER_ACCESS_TOKEN_SECRET
- See Also:
- Constant Field Values
OAuthConfigurationFactoryBean
public OAuthConfigurationFactoryBean()
bootstrapFromProperties
protected void bootstrapFromProperties(java.util.Properties props)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getObject
public OAuthConfiguration getObject()
throws java.lang.Exception
- Specified by:
getObject in interface FactoryBean<OAuthConfiguration>
- Throws:
java.lang.Exception
getObjectType
public java.lang.Class<?> getObjectType()
- Specified by:
getObjectType in interface FactoryBean<OAuthConfiguration>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface FactoryBean<OAuthConfiguration>
setConsumerKey
public void setConsumerKey(java.lang.String consumerKey)
setConsumerSecret
public void setConsumerSecret(java.lang.String consumerSecret)
setAccessToken
public void setAccessToken(java.lang.String accessToken)
setAccessTokenSecret
public void setAccessTokenSecret(java.lang.String accessTokenSecret)