public final class ServiceConfigUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addConfig(Registry registry)
Utility method to persist service configuration.
|
static void |
addConfigSchema(Registry registry)
Utility method to persist service configuration schema content.
|
static String |
getConfigFile()
Method to obtain configuration file content as a String.
|
static String |
getConfigSchemaFile()
Method to obtain services config schema file content as a String.
|
public static String getConfigFile() throws RegistryException
RegistryException - if the operation fails.public static void addConfig(Registry registry) throws Exception
registry - the registry instance to use.Exception - if an error occurs.public static void addConfigSchema(Registry registry) throws Exception
registry - the registry instance to use.Exception - if an error occurs.public static String getConfigSchemaFile() throws RegistryException
RegistryException - if the operation fails.Copyright © 2015 WSO2 Inc. All Rights Reserved.