org.jboss.seam.social
Class OAuthServiceJackson

java.lang.Object
  extended by org.jboss.seam.social.OAuthServiceBase
      extended by org.jboss.seam.social.OAuthServiceJackson
All Implemented Interfaces:
Serializable, HasStatus, OAuthService, RestService

public abstract class OAuthServiceJackson
extends OAuthServiceBase

Author:
Antoine Sabot-Durand
See Also:
Serialized Form

Field Summary
protected  JsonMapper jsonMapper
           
 
Fields inherited from class org.jboss.seam.social.OAuthServiceBase
ip, myProfile, sessionSettings, socialConfig
 
Constructor Summary
OAuthServiceJackson()
           
 
Method Summary
protected abstract  org.codehaus.jackson.map.Module getJacksonModule()
           
protected  void init()
          This method tries to find a configuration for the current service.
 
Methods inherited from class org.jboss.seam.social.OAuthServiceBase
equals, getAccessToken, getAuthorizationUrl, getMyProfile, getName, getQualifier, getRequestToken, getSession, getSettings, getStatus, getType, getVerifier, getVerifierParamName, hashCode, initAccessToken, initMyProfile, isConnected, requireAuthorization, resetConnection, sendSignedRequest, sendSignedRequest, sendSignedRequest, sendSignedRequest, sendSignedXmlRequest, setAccessToken, setAccessToken, setSession, setSettings, setStatus, setVerifier, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.seam.social.rest.RestService
getServiceLogo
 
Methods inherited from interface org.jboss.seam.social.HasStatus
updateStatus, updateStatus
 

Field Detail

jsonMapper

@Inject
protected JsonMapper jsonMapper
Constructor Detail

OAuthServiceJackson

public OAuthServiceJackson()
Method Detail

init

@PostConstruct
protected void init()
Description copied from class: OAuthServiceBase
This method tries to find a configuration for the current service. It does it in this order :
  1. looks for an OAuthConfiguration annotation to get value in it and build an OAuthServiceSettings from these
  2. looks for a OAuthServiceSettings bean with the same service qualifier (having the ServiceRelated meta annotation)

Overrides:
init in class OAuthServiceBase

getJacksonModule

protected abstract org.codehaus.jackson.map.Module getJacksonModule()


Copyright © 2011 Seam Framework. All Rights Reserved.