@Configuration @ConditionalOnWebApplication protected static class TwitterAutoConfiguration.TwitterAutoConfigurationAdapter extends SocialConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
TwitterAutoConfiguration.TwitterAutoConfigurationAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionFactories(ConnectionFactoryConfigurer configurer,
Environment environment) |
protected |
createConnectionFactory(RelaxedPropertyResolver properties) |
protected RelaxedPropertyResolver |
getProperties() |
protected String |
getPropertyPrefix() |
void |
setEnvironment(Environment environment) |
Twitter |
twitter(ConnectionRepository repository) |
View |
twitterConnectView() |
protected TwitterAutoConfiguration.TwitterAutoConfigurationAdapter()
protected String getPropertyPrefix()
protectedcreateConnectionFactory(RelaxedPropertyResolver properties)
@Bean @ConditionalOnMissingBean(value=) @Scope(value="request", proxyMode=INTERFACES) public Twitter twitter(ConnectionRepository repository)
@Bean(name={"connect/twitterConnect","connect/twitterConnected"}) public View twitterConnectView()
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
public void addConnectionFactories(ConnectionFactoryConfigurer configurer, Environment environment)
protected final RelaxedPropertyResolver getProperties()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.