Package com.sun.grid.jgdi.configuration

Examples of com.sun.grid.jgdi.configuration.ConfigurationElementImpl


        } else if (key instanceof DefaultMapListPropertyDescriptor) {
            updateMapListProperty(jgdi, obj, (DefaultMapListPropertyDescriptor) key, values);
        //For CONFIGURATION objects
        } else if (obj instanceof Configuration && key instanceof String) {
            Configuration c = (Configuration) obj;
            ConfigurationElement ce = new ConfigurationElementImpl();
            ce.setName((String) key);
            //TODO LP: Find out expected behaviour! Can values contain list of ConfigElems?
            ce.setValue(values.trim());
            c.addEntries(ce);
            //TODO LP: Need to exit if we get can't resolve hostname. Otherwise we get stacktrace for each element.
            //Also if should be reworked to return correct error code (1).
            jgdi.updateConfiguration(c);
        } else {
View Full Code Here

TOP

Related Classes of com.sun.grid.jgdi.configuration.ConfigurationElementImpl

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.