public class DubboBootstrap extends Object
| 构造器和说明 |
|---|
DubboBootstrap() |
DubboBootstrap(boolean registerShutdownHookOnStart) |
DubboBootstrap(boolean registerShutdownHookOnStart,
DubboShutdownHook shutdownHook) |
| 限定符和类型 | 方法和说明 |
|---|---|
DubboBootstrap |
registerServiceConfig(ServiceConfig serviceConfig)
Register service config to bootstrap, which will be called during
stop() |
void |
registerShutdownHook()
Register the shutdown hook
|
void |
removeShutdownHook()
Remove this shutdown hook
|
void |
start() |
void |
stop() |
public DubboBootstrap()
public DubboBootstrap(boolean registerShutdownHookOnStart)
public DubboBootstrap(boolean registerShutdownHookOnStart,
DubboShutdownHook shutdownHook)
public DubboBootstrap registerServiceConfig(ServiceConfig serviceConfig)
stop()serviceConfig - the servicepublic void start()
public void stop()
public void registerShutdownHook()
public void removeShutdownHook()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.