Package com.sun.appserv.management.config

Examples of com.sun.appserv.management.config.WebContainerConfig


        @HandlerOutput(name="Properties",      type=Map.class)})
       
        public static void getWebContainerGeneralProps(HandlerContext handlerCtx) {
        String configName = (String) handlerCtx.getInputValue("ConfigName");
        ConfigConfig config = AMXUtil.getConfig(configName);
        WebContainerConfig webConfig = config.getWebContainerConfig();
        Map<String, String> props = webConfig.getProperties();
        handlerCtx.setOutputValue("Properties", props);
    }
View Full Code Here


        @HandlerInput(name="RemoveProps",       type=ArrayList.class)})
       
        public static void saveWebContainerGeneralProps(HandlerContext handlerCtx) {
        String configName = (String) handlerCtx.getInputValue("ConfigName");
        ConfigConfig config = AMXUtil.getConfig(configName);
        WebContainerConfig webConfig = config.getWebContainerConfig();
        AMXUtil.editProperties(handlerCtx, webConfig);
    }
View Full Code Here

TOP

Related Classes of com.sun.appserv.management.config.WebContainerConfig

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.