Package com.sun.enterprise.config.impl

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


                    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


                    LogLevelChangeEvent event = new LogLevelChangeEvent(instanceName);
                    event.setModuleName(compName);
                    event.setOldLogLevel(oldValue);
                    event.setNewLogLevel(newValue);
                    events.add(event);
                    ConfigUpdate upd = new ConfigUpdateImpl(update.getXPath(),
                            compName, oldValue,newValue);
//System.out.println("***********createLogLevelEvents."+compName +":"+oldValue+"->"+newValue+" target="+instanceName);
                    event.addConfigChange(upd);
                }
            }
View Full Code Here

                    MonitoringLevelChangeEvent event = new MonitoringLevelChangeEvent(instanceName);
                    event.setComponentName(compName);
                    event.setOldMonitoringLevel(oldValue);
                    event.setNewMonitoringLevel(newValue);
                    events.add(event);
                    ConfigUpdate upd = new ConfigUpdateImpl(update.getXPath(),
                            compName, oldValue,newValue);
                    event.addConfigChange(upd);
                }
            }
        }
View Full Code Here

            String oldValue = update.getOldValue(compName);
            String newValue = update.getNewValue(compName);
            AdminEvent event = processor.createEvent(compName, oldValue,
                    newValue);
            cache.add(event);
            ConfigUpdate upd = new ConfigUpdateImpl(xpath, compName, oldValue,
                    newValue);
            event.addConfigChange(upd);
        }
        return true;
    }
View Full Code Here

   */
  public static ConfigUpdate createConfigUpdate(String xpath,
                            String attrName,
                            String oldValue,
                            String newValue) {
       return new ConfigUpdateImpl(xpath, attrName, oldValue, newValue);
  }
View Full Code Here

TOP

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

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.