public class DefaultConfigRegistry extends Object implements ConfigRegistry
| 构造器和说明 |
|---|
DefaultConfigRegistry() |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigFactory |
getFactory(String namespace)
Get the registered config factory for the namespace.
|
void |
register(String namespace,
ConfigFactory factory)
Register the config factory for the namespace specified.
|
public void register(String namespace, ConfigFactory factory)
ConfigRegistryregister 在接口中 ConfigRegistrynamespace - the namespacefactory - the factory for this namespacepublic ConfigFactory getFactory(String namespace)
ConfigRegistrygetFactory 在接口中 ConfigRegistrynamespace - the namespaceCopyright © 2019 Ctrip, Inc.. All rights reserved.