Package org.jboss.as.console.client.shared.subsys.web.model

Examples of org.jboss.as.console.client.shared.subsys.web.model.JSPContainerConfiguration


                    ModelNode config = payload.get("configuration").asObject();
                    ModelNode jspCfg  = config.get("jsp-configuration").asObject();
                    //ModelNode staticCfg = config.get("static-resources").asObject();

                    JSPContainerConfiguration jspConfig = factory.jspConfig().as();

                    if(payload.hasDefined("instance-id"))
                        jspConfig.setInstanceId(payload.get("instance-id").asString());

                    jspConfig.setDisabled(jspCfg.get("disabled").asBoolean());
                    jspConfig.setCheckInterval(jspCfg.get("check-interval").asInt());
                    jspConfig.setDevelopment(jspCfg.get("development").asBoolean());
                    jspConfig.setDisplaySource(jspCfg.get("display-source-fragment").asBoolean());
                    jspConfig.setKeepGenerated(jspCfg.get("keep-generated").asBoolean());
                    jspConfig.setRecompile(jspCfg.get("recompile-on-fail").asBoolean());

                    getView().setJSPConfig(jspConfig);
                }
            }
        });
View Full Code Here


                    ModelNode config = payload.get("configuration").asObject();
                    ModelNode jspCfg  = config.get("jsp-configuration").asObject();
                    //ModelNode staticCfg = config.get("static-resources").asObject();

                    JSPContainerConfiguration jspConfig = factory.jspConfig().as();

                    if(payload.hasDefined("instance-id"))
                        jspConfig.setInstanceId(payload.get("instance-id").asString());

                    jspConfig.setDisabled(jspCfg.get("disabled").asBoolean());
                    jspConfig.setCheckInterval(jspCfg.get("check-interval").asInt());
                    jspConfig.setDevelopment(jspCfg.get("development").asBoolean());
                    jspConfig.setDisplaySource(jspCfg.get("display-source-fragment").asBoolean());
                    jspConfig.setKeepGenerated(jspCfg.get("keep-generated").asBoolean());
                    jspConfig.setRecompile(jspCfg.get("recompile-on-fail").asBoolean());

                    getView().setJSPConfig(jspConfig);
                }
            }
        });
View Full Code Here

                    ModelNode config = payload.get("configuration").asObject();
                    ModelNode jspCfg  = config.get("jsp-configuration").asObject();
                    //ModelNode staticCfg = config.get("static-resources").asObject();

                    JSPContainerConfiguration jspConfig = factory.jspConfig().as();

                    if(payload.hasDefined("instance-id"))
                        jspConfig.setInstanceId(payload.get("instance-id").asString());

                    jspConfig.setDisabled(jspCfg.get("disabled").asBoolean());
                    jspConfig.setCheckInterval(jspCfg.get("check-interval").asInt());
                    jspConfig.setDevelopment(jspCfg.get("development").asBoolean());
                    jspConfig.setDisplaySource(jspCfg.get("display-source-fragment").asBoolean());
                    jspConfig.setKeepGenerated(jspCfg.get("keep-generated").asBoolean());
                    jspConfig.setRecompile(jspCfg.get("recompile-on-fail").asBoolean());

                    getView().setJSPConfig(jspConfig);
                }
            }
        });
View Full Code Here

                ModelNode config = response.get(RESULT).asObject().get("configuration").asObject();
                ModelNode jspCfg  = config.get("jsp-configuration").asObject();
                ModelNode staticCfg = config.get("static-resources").asObject();

                JSPContainerConfiguration jspConfig = factory.jspConfig().as();
                jspConfig.setDisabled(jspCfg.get("disabled").asBoolean());
                jspConfig.setCheckInterval(jspCfg.get("check-interval").asInt());
                jspConfig.setDevelopment(jspCfg.get("development").asBoolean());
                jspConfig.setDisplaySource(jspCfg.get("display-source-fragment").asBoolean());
                jspConfig.setKeepGenerated(jspCfg.get("keep-generated").asBoolean());
                jspConfig.setListings(staticCfg.get("listings").asBoolean());
                jspConfig.setRecompile(jspCfg.get("recompile-on-fail").asBoolean());

                getView().setJSPConfig(jspConfig);
            }
        });
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.shared.subsys.web.model.JSPContainerConfiguration

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.