public class ListenerLifecycleWrap extends Object implements org.noear.solon.core.bean.LifecycleBean
| Constructor and Description |
|---|
ListenerLifecycleWrap() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String topicMapping,
Object listener) |
static ListenerLifecycleWrap |
getOf(org.noear.solon.core.AppContext context)
获取实例
|
void |
start() |
void |
stop() |
public void start()
throws Throwable
start in interface org.noear.solon.core.bean.LifecycleBeanstart in interface org.noear.solon.core.LifecycleThrowablepublic void stop()
throws Throwable
stop in interface org.noear.solon.core.LifecycleThrowablepublic static ListenerLifecycleWrap getOf(org.noear.solon.core.AppContext context)
Copyright © 2025. All rights reserved.