@Configuration @EnableSocial @EnableConfigurationProperties(value=LinkedInProperties.class) @ConditionalOnWebApplication protected static class LinkedInAutoConfiguration.LinkedInConfigurerAdapter extends org.springframework.social.config.annotation.SocialConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
LinkedInConfigurerAdapter() |
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.linkedin.api.LinkedIn |
linkedin(org.springframework.social.connect.ConnectionRepository repository) |
org.springframework.social.connect.web.GenericConnectionStatusView |
linkedInConnectView() |
@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()
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 © 2016 Pivotal Software, Inc.. All rights reserved.