@Alias(value="token-manager-config") @TypeDsl(allowTopLevelDefinition=true) @NoExtend @NoInstantiate public class TokenManagerConfig<CTX extends org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContext & Serializable> extends Object implements org.mule.runtime.api.lifecycle.Lifecycle
| Modifier and Type | Field and Description |
|---|---|
static AtomicInteger |
defaultTokenManagerConfigIndex |
| Constructor and Description |
|---|
TokenManagerConfig() |
| Modifier and Type | Method and Description |
|---|---|
static TokenManagerConfig |
createDefault() |
void |
dispose() |
boolean |
equals(Object obj) |
ConfigOAuthContext |
getConfigOAuthContext() |
String |
getName() |
org.mule.runtime.api.store.ObjectStore<CTX> |
getObjectStore() |
static TokenManagerConfig |
getTokenManagerConfigByName(String name) |
int |
hashCode() |
void |
initialise() |
void |
setName(String name) |
void |
setObjectStore(org.mule.runtime.api.store.ObjectStore<CTX> objectStore) |
void |
start() |
void |
stop() |
public static AtomicInteger defaultTokenManagerConfigIndex
public org.mule.runtime.api.store.ObjectStore<CTX> getObjectStore()
public void setObjectStore(org.mule.runtime.api.store.ObjectStore<CTX> objectStore)
public void setName(String name)
public String getName()
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 start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic static TokenManagerConfig createDefault()
public static TokenManagerConfig getTokenManagerConfigByName(String name)
name - the name of the TokenManagerConfig to get.public ConfigOAuthContext getConfigOAuthContext()
Copyright © 2020 MuleSoft, Inc.. All rights reserved.