Package org.wso2.carbon.dataservices.core.engine

Examples of org.wso2.carbon.dataservices.core.engine.DataService.addConfig()


      }
         
      /* add the configs */
      for (Iterator<OMElement> itr = dbsElement.getChildrenWithName(
          new QName(DBSFields.CONFIG)); itr.hasNext();) {
        dataService.addConfig(ConfigFactory.createConfig(dataService, itr.next()));   
      }

      /* add event triggers */
      for (Iterator<OMElement> itr = dbsElement.getChildrenWithName(
          new QName(DBSFields.EVENT_TRIGGER)); itr.hasNext();) {
View Full Code Here


        null, null, null, DBConstants.ServiceStatusValues.INACTIVE,
        false, false, false, null, false);
   
    /* add dummy config */
    String dummyConfigId = DBConstants.DEFAULT_CONFIG_ID;
    dataService.addConfig(getDummyConfig(dataService, dummyConfigId));
   
    /* compile schema */
    Map<QName, Document> modelMap;
    Map<QName, String> elementMap;
    try {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.