@Configuration @EnableSocial @EnableConfigurationProperties(value=LinkedInProperties.class) @ConditionalOnWebApplication protected static class LinkedInAutoConfiguration.LinkedInConfigurerAdapter extends SocialAutoConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
LinkedInConfigurerAdapter(LinkedInProperties properties) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.social.connect.ConnectionFactory<?> |
createConnectionFactory() |
org.springframework.social.linkedin.api.LinkedIn |
linkedin(org.springframework.social.connect.ConnectionRepository repository) |
org.springframework.social.connect.web.GenericConnectionStatusView |
linkedInConnectView() |
addConnectionFactories
protected LinkedInConfigurerAdapter(LinkedInProperties properties)
@Bean @ConditionalOnMissingBean(value=org.springframework.social.linkedin.api.LinkedIn.class) @Scope(value="request", proxyMode=INTERFACES) public org.springframework.social.linkedin.api.LinkedIn linkedin(org.springframework.social.connect.ConnectionRepository repository)
@Bean(name={"connect/linkedinConnect","connect/linkedinConnected"}) @ConditionalOnProperty(prefix="spring.social", name="auto-connection-views") public org.springframework.social.connect.web.GenericConnectionStatusView linkedInConnectView()
protected org.springframework.social.connect.ConnectionFactory<?> createConnectionFactory()
createConnectionFactory
in class SocialAutoConfigurerAdapter
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.