@Configuration @EnableSocial @EnableConfigurationProperties(value=TwitterProperties.class) @ConditionalOnWebApplication protected static class TwitterAutoConfiguration.TwitterConfigurerAdapter extends SocialAutoConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
TwitterConfigurerAdapter(TwitterProperties properties) |
Modifier and Type | Method and Description |
---|---|
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() |
addConnectionFactories
protected TwitterConfigurerAdapter(TwitterProperties properties)
@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()
createConnectionFactory
in class SocialAutoConfigurerAdapter
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.