org.jboss.seam.social.core
Annotation Type Setted
@Qualifier
@Target(value={TYPE,METHOD,PARAMETER,FIELD})
@Retention(value=RUNTIME)
@Documented
public @interface Setted
A CDI Qualifier annotation to qualify and set OAuthService directly in the code It can be used like this :
@Inject
@Setted(apiKey = "a consumer key", apiSecret = "a consumer secret", callback = "a call back URL")
Twitter service;
It's one of the alternates solution initialize an OAuth service configuration
- Author:
- Antoine Sabot-Durand
apiKey
public abstract String apiKey
- Default:
- ""
apiSecret
public abstract String apiSecret
- Default:
- ""
callback
public abstract String callback
- Default:
- "oob"
scope
public abstract String scope
- Default:
- ""
Copyright © 2011 Seam Framework. All Rights Reserved.