public abstract class BaseContext<T> extends Object
Constructor and Description |
---|
BaseContext(T value,
Map<String,Object> globalContextMap)
构造
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
get(String key)
获取一个当前上下文参数
|
Object |
getGlobal(String key)
获取一个全局上下文参数
|
T |
getValue() |
Object |
set(String key,
Object value)
记录一个当前上下文参数
|
Object |
setGlobal(String key,
Object value) |
void |
setValue(T newValue) |
Copyright © 2020. All rights reserved.