@Configuration @EnableSocial @EnableConfigurationProperties(value=TwitterProperties.class) @ConditionalOnWebApplication protected static class TwitterAutoConfiguration.TwitterConfigurerAdapter extends org.springframework.social.config.annotation.SocialConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
TwitterAutoConfiguration.TwitterConfigurerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionFactories(org.springframework.social.config.annotation.ConnectionFactoryConfigurer configurer,
Environment environment) |
protected org.springframework.social.connect.ConnectionFactory<?> |
createConnectionFactory() |
Twitter |
twitter(org.springframework.social.connect.ConnectionRepository repository) |
View |
twitterConnectView() |
protected TwitterAutoConfiguration.TwitterConfigurerAdapter()
@Bean @ConditionalOnMissingBean @Scope(value="request", proxyMode=INTERFACES) public Twitter twitter(org.springframework.social.connect.ConnectionRepository repository)
@Bean(name={"connect/twitterConnect","connect/twitterConnected"}) public View twitterConnectView()
protected org.springframework.social.connect.ConnectionFactory<?> createConnectionFactory()
public void addConnectionFactories(org.springframework.social.config.annotation.ConnectionFactoryConfigurer configurer, Environment environment)
addConnectionFactories
in interface org.springframework.social.config.annotation.SocialConfigurer
addConnectionFactories
in class org.springframework.social.config.annotation.SocialConfigurerAdapter
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.