public class DubboSpringInitContext extends Object
| Constructor and Description |
|---|
DubboSpringInitContext() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
org.apache.dubbo.rpc.model.ApplicationModel |
getApplicationModel() |
org.springframework.beans.factory.config.ConfigurableListableBeanFactory |
getBeanFactory() |
Map<String,Object> |
getModuleAttributes() |
org.apache.dubbo.rpc.model.ModuleModel |
getModuleModel() |
org.springframework.beans.factory.support.BeanDefinitionRegistry |
getRegistry() |
boolean |
isKeepRunningOnSpringClosed() |
void |
markAsBound() |
void |
setKeepRunningOnSpringClosed(boolean keepRunningOnSpringClosed)
Keep Dubbo running when spring is stopped
|
void |
setModuleAttribute(String key,
Object value) |
void |
setModuleModel(org.apache.dubbo.rpc.model.ModuleModel moduleModel)
Change the binding ModuleModel, the ModuleModel and DubboBootstrap must be matched.
|
public void markAsBound()
public org.springframework.beans.factory.support.BeanDefinitionRegistry getRegistry()
public org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory()
public org.springframework.context.ApplicationContext getApplicationContext()
public org.apache.dubbo.rpc.model.ApplicationModel getApplicationModel()
public org.apache.dubbo.rpc.model.ModuleModel getModuleModel()
public void setModuleModel(org.apache.dubbo.rpc.model.ModuleModel moduleModel)
moduleModel - public boolean isKeepRunningOnSpringClosed()
public void setKeepRunningOnSpringClosed(boolean keepRunningOnSpringClosed)
keepRunningOnSpringClosed - Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.