| Package | Description |
|---|---|
| org.noear.solon | |
| org.noear.solon.core | |
| org.noear.solon.core.bean | |
| org.noear.solon.core.event | |
| org.noear.solon.core.route | |
| org.noear.solon.core.util | |
| org.noear.solon.core.wrap |
| Modifier and Type | Method and Description |
|---|---|
static AppContext |
Solon.context()
应用上下文
|
AppContext |
SolonApp.context()
应用上下文
|
| Modifier and Type | Method and Description |
|---|---|
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)
订阅事件
|
| Modifier and Type | Method and Description |
|---|---|
void |
PluginEntity.init(AppContext context)
初始化
|
void |
PluginEntity.start(AppContext context)
启动
|
void |
Plugin.start(AppContext context)
启动(保留,为兼容性过度)
|
protected void |
AppContext.tryMethodParamsGather(AppContext context,
int label,
Class<?> outType,
ParamWrap[] paramAry,
ConsumerEx<Object[]> completionConsumer)
尝试方法参数收集
|
| Constructor and Description |
|---|
BeanWrap(AppContext context,
Class<?> clz) |
BeanWrap(AppContext context,
Class<?> clz,
Constructor rawCtor,
Object[] rawCtorArgs) |
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) |
BeanWrap(AppContext context,
Class<?> clz,
Object raw,
String name,
boolean typed,
String initMethodName,
String destroyMethodName) |
BeanWrap(AppContext context,
Class<?> clz,
Object raw,
String name,
boolean typed,
String initMethodName,
String destroyMethodName,
Constructor rawCtor,
Object[] rawCtorArgs) |
| Modifier and Type | Method and Description |
|---|---|
default void |
LifecycleBean.setAppContext(AppContext appContext)
感知 AppContext
|
| Modifier and Type | Method and Description |
|---|---|
AppContext |
AppEvent.context()
应用上下文
|
| Modifier and Type | Method and Description |
|---|---|
abstract AppContext |
RouterWrapper.context() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ConditionUtil.onBeanRun(Condition anno,
AppContext context,
RunnableEx runnable) |
static boolean |
ConditionUtil.test(AppContext context,
AnnotatedElement element)
检测条件
|
static boolean |
ConditionUtil.test(AppContext context,
Condition anno)
检测条件
|
| Modifier and Type | Method and Description |
|---|---|
AppContext |
VarHolderOfParam.context()
应用上下文
|
AppContext |
VarHolderOfField.context()
应用上下文
|
| Modifier and Type | Method and Description |
|---|---|
VarHolder |
FieldWrap.holder(AppContext ctx,
Object obj,
InjectGather gather)
获取自身的临时对象
|
| Constructor and Description |
|---|
MethodWrap(AppContext ctx,
Class<?> clz,
Method m) |
VarHolderOfField(AppContext ctx,
FieldWrap fw,
Object obj,
InjectGather gather) |
VarHolderOfParam(AppContext ctx,
ParamWrap pw,
InjectGather gather) |
Copyright © 2025. All rights reserved.