| 程序包 | 说明 |
|---|---|
| cn.aradin.spring.core.context | |
| cn.aradin.spring.core.context.holder | |
| cn.aradin.spring.core.context.strategy |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AradinContextImpl |
| 限定符和类型 | 方法和说明 |
|---|---|
static AradinContext |
AradinContextHolder.createEmptyContext()
Delegates the creation of a new, empty context to the configured strategy.
|
static AradinContext |
AradinContextHolder.getContext()
Obtain the current
AradinContext. |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
AradinContextHolder.setContext(AradinContext context)
Associates a new
AradinContext with the current thread of execution. |
| 限定符和类型 | 方法和说明 |
|---|---|
AradinContext |
AradinContextHolderStrategy.createEmptyContext()
Creates a new, empty context implementation, for use by
SecurityContextRepository implementations, when creating a new context for
the first time.
|
AradinContext |
GlobalAradinContextHolderStrategy.createEmptyContext() |
AradinContext |
InheritableThreadLocalAradinContextHolderStrategy.createEmptyContext() |
AradinContext |
ThreadLocalAradinContextHolderStrategy.createEmptyContext() |
AradinContext |
AradinContextHolderStrategy.getContext()
Obtains the current context.
|
AradinContext |
GlobalAradinContextHolderStrategy.getContext() |
AradinContext |
InheritableThreadLocalAradinContextHolderStrategy.getContext() |
AradinContext |
ThreadLocalAradinContextHolderStrategy.getContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AradinContextHolderStrategy.setContext(AradinContext context)
Sets the current context.
|
void |
GlobalAradinContextHolderStrategy.setContext(AradinContext context) |
void |
InheritableThreadLocalAradinContextHolderStrategy.setContext(AradinContext context) |
void |
ThreadLocalAradinContextHolderStrategy.setContext(AradinContext context) |
Copyright © 2022. All rights reserved.