@Configuration @EnableConfigurationProperties(value=TwitterProperties.class) @ConditionalOnWebApplication protected static class TwitterAutoConfiguration.TwitterAutoConfigurationAdapter extends SocialConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
TwitterAutoConfiguration.TwitterAutoConfigurationAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionFactories(ConnectionFactoryConfigurer configurer,
Environment environment) |
protected |
createConnectionFactory() |
Twitter |
twitter(ConnectionRepository repository) |
View |
twitterConnectView() |
protected TwitterAutoConfiguration.TwitterAutoConfigurationAdapter()
@Bean @ConditionalOnMissingBean @Scope(value="request", proxyMode=INTERFACES) public Twitter twitter(ConnectionRepository repository)
@Bean(name={"connect/twitterConnect","connect/twitterConnected"}) public View twitterConnectView()
protectedcreateConnectionFactory()
public void addConnectionFactories(ConnectionFactoryConfigurer configurer, Environment environment)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.