接口 Lifecycle
-
- 所有超级接口:
Disposable
- 所有已知子接口:
ApplicationExt,ModuleExt
- 所有已知实现类:
AbstractConfigManager,AdaptiveExtensionInjector,ConfigManager,Environment,LifecycleAdapter,ModuleConfigManager,ModuleEnvironment
public interface Lifecycle extends Disposable
The Lifecycle of Dubbo component- 从以下版本开始:
- 2.7.5
-
-
方法详细资料
-
initialize
void initialize() throws IllegalStateExceptionInitialize the component beforestart
-
start
void start() throws IllegalStateExceptionStart the component
-
destroy
void destroy() throws IllegalStateExceptionDestroy the component- 指定者:
destroy在接口中Disposable- 抛出:
IllegalStateException
-
-