|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlattrServiceFactory
A service factory primarily made for Spring.
The factory implementation is preconfigured with the consumer key and consumer secret
on constuction time, optionally also with a default access token. When the
FlattrServiceFactory
bean is injected, it is already properly configured and
ready to use.
Method Summary | |
---|---|
FlattrAuthenticator |
getFlattrAuthenticator()
Creates a new FlattrAuthenticator . |
FlattrService |
getFlattrService()
Creates a new FlattrService instance, using a default access token. |
FlattrService |
getFlattrService(AccessToken accessToken)
Creates a new FlattrService instance. |
OpenService |
getOpenService()
Creates a new OpenService instance. |
Method Detail |
---|
OpenService getOpenService()
OpenService
instance.
OpenService
instance. Each invocation creates a new instance.FlattrService getFlattrService()
FlattrService
instance, using a default access token. If no
default access token is set, an exception will be thrown.
FlattrService
instance. Each invocation creates a new instance.FlattrService getFlattrService(AccessToken accessToken)
FlattrService
instance.
accessToken
- AccessToken
to be used by the FlattrService
FlattrService
instance. Each invocation creates a new instance.FlattrAuthenticator getFlattrAuthenticator()
FlattrAuthenticator
.
FlattrAuthenticator
instance. Each invocation creates a new
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |