public class DefaultConfigRegistry extends Object implements ConfigRegistry
| Constructor and Description |
|---|
DefaultConfigRegistry() |
| Modifier and Type | Method and Description |
|---|---|
ConfigFactory |
getFactory(String namespace)
Get the registered config factory for the namespace.
|
ConfigFactory |
getFactory(String appId,
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 appId,
String namespace,
ConfigFactory factory)
Register the config factory for the namespace specified.
|
public void register(String namespace, ConfigFactory factory)
ConfigRegistryregister in interface ConfigRegistrynamespace - the namespacefactory - the factory for this namespacepublic void register(String appId, String namespace, ConfigFactory factory)
ConfigRegistryregister in interface ConfigRegistryappId - the appIdnamespace - the namespacefactory - the factory for this appId and namespacepublic ConfigFactory getFactory(String namespace)
ConfigRegistrygetFactory in interface ConfigRegistrynamespace - the namespacepublic ConfigFactory getFactory(String appId, String namespace)
ConfigRegistrygetFactory in interface ConfigRegistryappId - the appIdnamespace - the namespaceCopyright © 2025. All rights reserved.