Package com.sun.enterprise.config.impl

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


    public void handleCreate(TrustedEntityEvent tee) throws AdminEventListenerException {
        try {
            ConfigContext configContext = tee.getConfigContext();
            Config cfg = (Config) ServerBeansFactory.getConfigBean(ApplicationServer.getServerContext().getConfigContext());
            SecurityService secService = cfg.getSecurityService();
            ConfigSetImpl configAdd = null;
            ArrayList configChangeList = tee.getConfigChangeList();
            String xpath = null;           
            Object configObject;

            for (int i = 0; i < configChangeList.size(); i++) {
                configObject = configChangeList.get(i);

                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;
View Full Code Here


   */
  public static ConfigSet createConfigSet(String parentXpath,
                            String name,
                            Object cb,
                            Object[] cbArray) {
       return new ConfigSetImpl(parentXpath, name, cb, cbArray);
  }
View Full Code Here

TOP

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

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.