public class TokenManagerConfig extends Object implements Initialisable, MuleContextAware
Modifier and Type | Field and Description |
---|---|
static AtomicInteger |
defaultTokenManagerConfigIndex |
PHASE_NAME
Constructor and Description |
---|
TokenManagerConfig() |
Modifier and Type | Method and Description |
---|---|
static TokenManagerConfig |
createDefault(MuleContext context) |
ConfigOAuthContext |
getConfigOAuthContext() |
void |
initialise()
Method used to perform any initialisation work.
|
Object |
processOauthContextFunctionACall(Object[] params)
Provides support for the oauthContext MEL function for this configuration
|
void |
setMuleContext(MuleContext context) |
void |
setName(String name) |
void |
setObjectStore(ListableObjectStore objectStore) |
public static AtomicInteger defaultTokenManagerConfigIndex
public void setObjectStore(ListableObjectStore objectStore)
public void setName(String name)
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic static TokenManagerConfig createDefault(MuleContext context) throws InitialisationException
InitialisationException
public ConfigOAuthContext getConfigOAuthContext()
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.