public class DataServiceConfigParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_SERVICES_DEFAULT_NAMESPACE |
| Modifier and Type | Method and Description |
|---|---|
org.apache.axiom.om.OMElement |
getConfigElement(String localPart)
Returns the element with the provided local part
|
Map<String,Object> |
getConfiguration()
Getter method to get configurations.
|
static DataServiceConfigParser |
getInstance()
Get instance method to maintain singleton behavior.
|
static DataServiceConfigParser |
getInstance(String filePath)
Get instance method with providing config file path.
|
public static final String DATA_SERVICES_DEFAULT_NAMESPACE
public static DataServiceConfigParser getInstance() throws org.wso2.carbon.base.ServerConfigurationException
org.wso2.carbon.base.ServerConfigurationExceptionpublic static DataServiceConfigParser getInstance(String filePath) throws org.wso2.carbon.base.ServerConfigurationException
filePath - of the dataServices.xml file.org.wso2.carbon.base.ServerConfigurationExceptionpublic Map<String,Object> getConfiguration()
public org.apache.axiom.om.OMElement getConfigElement(String localPart)
localPart - local part nameCopyright © 2015 WSO2. All rights reserved.