@Configuration @EnableSocial @EnableConfigurationProperties(value=TwitterProperties.class) @ConditionalOnWebApplication protected static class TwitterAutoConfiguration.TwitterConfigurerAdapter extends org.springframework.social.config.annotation.SocialConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
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() |
org.springframework.social.twitter.api.Twitter |
twitter(org.springframework.social.connect.ConnectionRepository repository) |
org.springframework.social.connect.web.GenericConnectionStatusView |
twitterConnectView() |
@Bean @ConditionalOnMissingBean @Scope(value="request", proxyMode=INTERFACES) public org.springframework.social.twitter.api.Twitter twitter(org.springframework.social.connect.ConnectionRepository repository)
@Bean(name={"connect/twitterConnect","connect/twitterConnected"}) @ConditionalOnProperty(prefix="spring.social", name="auto-connection-views") public org.springframework.social.connect.web.GenericConnectionStatusView 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 © 2019 Pivotal Software, Inc.. All rights reserved.