public interface ConfigRegistry
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
void register(String namespace, ConfigFactory factory)
namespace - the namespacefactory - the factory for this namespaceConfigFactory getFactory(String namespace)
namespace - the namespaceCopyright © 2019 Ctrip, Inc.. All rights reserved.