org.jboss.seam.social.oauth
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 OAuthServiceHandler 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")
 TwitterHandler service;
 
It's one of the alternates solution initialize an OAuth service configuration

Author:
Antoine Sabot-Durand

Optional Element Summary
 String apiKey
           
 String apiSecret
           
 String callback
           
 

apiKey

public abstract String apiKey
Default:
""

apiSecret

public abstract String apiSecret
Default:
""

callback

public abstract String callback
Default:
"oob"


Copyright © 2011 Seam Framework. All Rights Reserved.