org.jboss.seam.social
Class OAuthServiceJackson
java.lang.Object
org.jboss.seam.social.OAuthServiceBase
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
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 |
jsonMapper
@Inject
protected JsonMapper jsonMapper
OAuthServiceJackson
public OAuthServiceJackson()
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 :
- looks for an
OAuthConfiguration
annotation to get value in it and build an OAuthServiceSettings
from
these
- 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.