|
Spring Social Twitter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @Import(value=TwitterProviderConfigRegistrar.class) public @interface EnableTwitter
Annotation to enable Twitter in a Spring Social application.
Configures a TwitterConnectionFactory bean (and a ConnectionFactoryLocator bean if one isn't already registered).
Also configures a request-scoped Twitter bean fetched from the current user's ConnectionRepository.
| Required Element Summary | |
|---|---|
java.lang.String |
appId
The application's consumer key as issued by Twitter. |
java.lang.String |
appSecret
The application's consumer secret as issued by Twitter. |
| Element Detail |
|---|
public abstract java.lang.String appId
public abstract java.lang.String appSecret
|
Spring Social Twitter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||