Package com.sun.enterprise.config.impl

Examples of com.sun.enterprise.config.impl.ConfigAddImpl


                if (configObject instanceof ConfigSetImpl) {
                    configAdd = (ConfigSetImpl) configObject;
                    xpath = configAdd.getXPath();
                } else if (configObject instanceof ConfigAddImpl) {
                    ConfigAddImpl cad = (ConfigAddImpl) configObject;
                    xpath = cad.getXPath();
                }else if(configObject instanceof ConfigUpdateImpl){
                    ConfigUpdateImpl cad = (ConfigUpdateImpl) configObject;
                    xpath = cad.getXPath();
                }else if(configObject instanceof  ConfigDeleteImpl){
                    ConfigDeleteImpl cad = (ConfigDeleteImpl) configObject;
                    xpath = cad.getXPath();
                }
                //object = configContext.exactLookup(xpath);
                String id = getIdFromXpath(xpath);
                if (id == null) {
                    continue;
View Full Code Here


     * @param xpath of the config bean to be used for creating configAdd
     * @throws ConfigException
     */
  public static ConfigAdd createConfigAdd(ConfigContext ctx, String xpath) throws ConfigException {
      try {
        return new ConfigAddImpl(ctx, xpath);
      } catch(ConfigException ce) {
          LoggerHelper.info("ConfigChangeFactory.createConfigAdd: Error creating config Add", ce);
          throw ce;
      }
  }
View Full Code Here

   */
  public static ConfigAdd createConfigAdd(String parentXpath,
                            String childXpath,
                            String name,
                            ConfigBean cb) {
    return new ConfigAddImpl(parentXpath, childXpath, name, cb);
  }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.impl.ConfigAddImpl

Copyright © 2018 www.massapicom. 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.