|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.jdbc.utils.ServiceConfigUtil
public final class ServiceConfigUtil
Utilities for configuring services.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |