Examples of methodParam()


Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

      xh.addRule("web-app/login-config/realm-name", xh.methodParam(1) );
      xh.addRule("web-app/login-config/form-login-config/form-login-page", xh.methodParam(2) );
      xh.addRule("web-app/login-config/form-login-config/form-error-page", xh.methodParam(3) );

      xh.addRule("web-app/mime-mapping", xh.methodSetter("addContentType", 2) );
      xh.addRule("web-app/mime-mapping/extension", xh.methodParam(0) );
      xh.addRule("web-app/mime-mapping/mime-type", xh.methodParam(1) );

      xh.addRule("web-app/welcome-file-list/welcome-file", xh.methodSetter("addWelcomeFile", 0) );

      xh.addRule("web-app/error-page", xh.methodSetter("addErrorPage",2) );
View Full Code Here

Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

      xh.addRule("web-app/login-config/form-login-config/form-login-page", xh.methodParam(2) );
      xh.addRule("web-app/login-config/form-login-config/form-error-page", xh.methodParam(3) );

      xh.addRule("web-app/mime-mapping", xh.methodSetter("addContentType", 2) );
      xh.addRule("web-app/mime-mapping/extension", xh.methodParam(0) );
      xh.addRule("web-app/mime-mapping/mime-type", xh.methodParam(1) );

      xh.addRule("web-app/welcome-file-list/welcome-file", xh.methodSetter("addWelcomeFile", 0) );

      xh.addRule("web-app/error-page", xh.methodSetter("addErrorPage",2) );
      xh.addRule("web-app/error-page/error-code", xh.methodParam(0) );
View Full Code Here

Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

      xh.addRule("web-app/mime-mapping/mime-type", xh.methodParam(1) );

      xh.addRule("web-app/welcome-file-list/welcome-file", xh.methodSetter("addWelcomeFile", 0) );

      xh.addRule("web-app/error-page", xh.methodSetter("addErrorPage",2) );
      xh.addRule("web-app/error-page/error-code", xh.methodParam(0) );
      xh.addRule("web-app/error-page/exception-type", xh.methodParam(0) );
      xh.addRule("web-app/error-page/location", xh.methodParam(1) );

      xh.addRule("web-app/session-config", xh.methodSetter("setSessionTimeOut", 1, new String[]{"int"}));
      xh.addRule("web-app/session-config/session-timeout", xh.methodParam(0));
View Full Code Here

Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

      xh.addRule("web-app/welcome-file-list/welcome-file", xh.methodSetter("addWelcomeFile", 0) );

      xh.addRule("web-app/error-page", xh.methodSetter("addErrorPage",2) );
      xh.addRule("web-app/error-page/error-code", xh.methodParam(0) );
      xh.addRule("web-app/error-page/exception-type", xh.methodParam(0) );
      xh.addRule("web-app/error-page/location", xh.methodParam(1) );

      xh.addRule("web-app/session-config", xh.methodSetter("setSessionTimeOut", 1, new String[]{"int"}));
      xh.addRule("web-app/session-config/session-timeout", xh.methodParam(0));
View Full Code Here

Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

      xh.addRule("web-app/welcome-file-list/welcome-file", xh.methodSetter("addWelcomeFile", 0) );

      xh.addRule("web-app/error-page", xh.methodSetter("addErrorPage",2) );
      xh.addRule("web-app/error-page/error-code", xh.methodParam(0) );
      xh.addRule("web-app/error-page/exception-type", xh.methodParam(0) );
      xh.addRule("web-app/error-page/location", xh.methodParam(1) );

      xh.addRule("web-app/session-config", xh.methodSetter("setSessionTimeOut", 1, new String[]{"int"}));
      xh.addRule("web-app/session-config/session-timeout", xh.methodParam(0));

      // Servlet
View Full Code Here

Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

      xh.addRule("web-app/error-page/error-code", xh.methodParam(0) );
      xh.addRule("web-app/error-page/exception-type", xh.methodParam(0) );
      xh.addRule("web-app/error-page/location", xh.methodParam(1) );

      xh.addRule("web-app/session-config", xh.methodSetter("setSessionTimeOut", 1, new String[]{"int"}));
      xh.addRule("web-app/session-config/session-timeout", xh.methodParam(0));

      // Servlet
      xh.addRule("web-app/servlet", xh.objectCreate("org.apache.tomcat.facade.ServletInfo") ); // servlet-wrapper
      xh.addRule("web-app/servlet", xh.setParent( "setContext") ); // remove it from stack when done
      //      xh.addRule("web-app/servlet", xh.addChild("addServlet", "org.apache.tomcat.core.Handler") );
View Full Code Here

Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

      xh.addRule("web-app/servlet/servlet-class", xh.methodSetter("setServletClassName",0));
      xh.addRule("web-app/servlet/jsp-file",
           xh.methodSetter("setJspFile",0));

      xh.addRule("web-app/servlet/security-role-ref", xh.methodSetter("addSecurityMapping", 3) );
      xh.addRule("web-app/servlet/security-role-ref/role-name", xh.methodParam(0) );
      xh.addRule("web-app/servlet/security-role-ref/role-link", xh.methodParam(1) );
      xh.addRule("web-app/servlet/security-role-ref/description", xh.methodParam(2) );

      xh.addRule("web-app/servlet/init-param", xh.methodSetter("addInitParam", 2) ); // addXXX
      xh.addRule("web-app/servlet/init-param/param-name", xh.methodParam(0) );
View Full Code Here

Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

      xh.addRule("web-app/servlet/jsp-file",
           xh.methodSetter("setJspFile",0));

      xh.addRule("web-app/servlet/security-role-ref", xh.methodSetter("addSecurityMapping", 3) );
      xh.addRule("web-app/servlet/security-role-ref/role-name", xh.methodParam(0) );
      xh.addRule("web-app/servlet/security-role-ref/role-link", xh.methodParam(1) );
      xh.addRule("web-app/servlet/security-role-ref/description", xh.methodParam(2) );

      xh.addRule("web-app/servlet/init-param", xh.methodSetter("addInitParam", 2) ); // addXXX
      xh.addRule("web-app/servlet/init-param/param-name", xh.methodParam(0) );
      xh.addRule("web-app/servlet/init-param/param-value", xh.methodParam(1) );
View Full Code Here

Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

           xh.methodSetter("setJspFile",0));

      xh.addRule("web-app/servlet/security-role-ref", xh.methodSetter("addSecurityMapping", 3) );
      xh.addRule("web-app/servlet/security-role-ref/role-name", xh.methodParam(0) );
      xh.addRule("web-app/servlet/security-role-ref/role-link", xh.methodParam(1) );
      xh.addRule("web-app/servlet/security-role-ref/description", xh.methodParam(2) );

      xh.addRule("web-app/servlet/init-param", xh.methodSetter("addInitParam", 2) ); // addXXX
      xh.addRule("web-app/servlet/init-param/param-name", xh.methodParam(0) );
      xh.addRule("web-app/servlet/init-param/param-value", xh.methodParam(1) );
View Full Code Here

Examples of org.apache.tomcat.util.xml.XmlMapper.methodParam()

      xh.addRule("web-app/servlet/security-role-ref/role-name", xh.methodParam(0) );
      xh.addRule("web-app/servlet/security-role-ref/role-link", xh.methodParam(1) );
      xh.addRule("web-app/servlet/security-role-ref/description", xh.methodParam(2) );

      xh.addRule("web-app/servlet/init-param", xh.methodSetter("addInitParam", 2) ); // addXXX
      xh.addRule("web-app/servlet/init-param/param-name", xh.methodParam(0) );
      xh.addRule("web-app/servlet/init-param/param-value", xh.methodParam(1) );

      xh.addRule("web-app/servlet/icon/small-icon", xh.methodSetter("setIcon",0 )); // icon, body
      xh.addRule("web-app/servlet/description", xh.methodSetter("setDescription", 0) ); // description, body
      xh.addRule("web-app/servlet/load-on-startup", xh.methodSetter("setLoadOnStartUp", 0 ));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.