@Alias(value="token-manager-config") @TypeDsl(allowTopLevelDefinition=true) public class TokenManagerConfig extends Object implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable, org.mule.runtime.core.api.context.MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
static AtomicInteger |
defaultTokenManagerConfigIndex |
| Constructor and Description |
|---|
TokenManagerConfig() |
| Modifier and Type | Method and Description |
|---|---|
static TokenManagerConfig |
createDefault(org.mule.runtime.core.api.MuleContext context) |
void |
dispose() |
ConfigOAuthContext |
getConfigOAuthContext() |
org.mule.runtime.api.store.ObjectStore<org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> |
getObjectStore() |
static TokenManagerConfig |
getTokenManagerConfigByName(String name) |
void |
initialise() |
void |
setMuleContext(org.mule.runtime.core.api.MuleContext muleContext) |
void |
setName(String name) |
void |
setObjectStore(org.mule.runtime.api.store.ObjectStore<org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> objectStore) |
public static AtomicInteger defaultTokenManagerConfigIndex
public org.mule.runtime.api.store.ObjectStore<org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> getObjectStore()
public void setObjectStore(org.mule.runtime.api.store.ObjectStore<org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> objectStore)
public void setName(String name)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic static TokenManagerConfig createDefault(org.mule.runtime.core.api.MuleContext context) throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionpublic static TokenManagerConfig getTokenManagerConfigByName(String name)
name - the name of the TokenManagerConfig to get.public ConfigOAuthContext getConfigOAuthContext()
public void setMuleContext(org.mule.runtime.core.api.MuleContext muleContext)
setMuleContext in interface org.mule.runtime.core.api.context.MuleContextAwareCopyright © 2017 MuleSoft, Inc.. All rights reserved.