| 程序包 | 说明 |
|---|---|
| org.noear.solon | |
| org.noear.solon.core | |
| org.noear.solon.core.event | |
| org.noear.solon.core.route | |
| org.noear.solon.core.util | |
| org.noear.solon.core.wrap |
| 限定符和类型 | 方法和说明 |
|---|---|
static AppContext |
Solon.context()
应用上下文
|
AppContext |
SolonApp.context()
应用上下文
|
| 限定符和类型 | 方法和说明 |
|---|---|
AppContext |
VarHolder.context()
应用上下文
|
AppContext |
BeanWrap.context() |
<T> AppContext |
AppContext.onEvent(Class<T> type,
EventListener<T> handler)
订阅事件
|
<T> AppContext |
AppContext.onEvent(Class<T> type,
int index,
EventListener<T> handler)
订阅事件
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
BeanWrap.Proxy.getProxy(AppContext ctx,
Object bean)
获取代理
|
void |
PluginEntity.init(AppContext context)
初始化
|
void |
PluginEntity.start(AppContext context)
启动
|
void |
Plugin.start(AppContext context)
启动(保留,为兼容性过度)
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AppContext.beanOnloaded(Consumer<AppContext> fun)
已过时。
2.2
|
void |
AppContext.beanOnloaded(int index,
Consumer<AppContext> fun)
已过时。
2.2
|
| 构造器和说明 |
|---|
BeanWrap(AppContext context,
Class<?> clz) |
BeanWrap(AppContext context,
Class<?> clz,
Object raw) |
BeanWrap(AppContext context,
Class<?> clz,
Object raw,
String name) |
BeanWrap(AppContext context,
Class<?> clz,
Object raw,
String name,
boolean typed) |
| 限定符和类型 | 方法和说明 |
|---|---|
AppContext |
AppEvent.context()
应用上下文
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract AppContext |
RouterWrapper.context() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
ConditionUtil.test(AppContext context,
AnnotatedElement element)
检测条件
|
static boolean |
ConditionUtil.test(AppContext context,
Condition anno)
检测条件
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected AppContext |
VarHolderOfField.ctx |
| 限定符和类型 | 方法和说明 |
|---|---|
AppContext |
VarHolderOfParam.context()
应用上下文
|
AppContext |
VarHolderOfField.context()
应用上下文
|
| 限定符和类型 | 方法和说明 |
|---|---|
VarHolder |
FieldWrap.holder(AppContext ctx,
Object obj,
Runnable onDone)
获取自身的临时对象
|
| 构造器和说明 |
|---|
MethodWrap(AppContext ctx,
Method m) |
MethodWrap(AppContext ctx,
Method m,
Map<String,Type> genericInfo) |
VarHolderOfField(AppContext ctx,
FieldWrap fw,
Object obj,
Runnable onDone) |
VarHolderOfParam(AppContext ctx,
Parameter p,
Runnable onDone) |
Copyright © 2023. All rights reserved.