Examples of objectCreate()


Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

                       mapper.methodParam(0));
        mapper.addRule("web-app/filter/init-param/param-value",
                       mapper.methodParam(1));

        mapper.addRule("web-app/filter-mapping",
                  mapper.objectCreate("org.apache.catalina.deploy.FilterMap"));
        mapper.addRule("web-app/filter-mapping",
                       mapper.addChild("addFilterMap",
                                      "org.apache.catalina.deploy.FilterMap"));
        mapper.addRule("web-app/filter-mapping/filter-name",
                       mapper.methodSetter("setFilterName", 0));
View Full Code Here

Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

        mapper.addRule("web-app/listener/listener-class",
                       mapper.methodSetter("addApplicationListener", 0));

        mapper.addRule("web-app/login-config",
                mapper.objectCreate("org.apache.catalina.deploy.LoginConfig"));
        mapper.addRule("web-app/login-config",
                       mapper.addChild("setLoginConfig",
                                    "org.apache.catalina.deploy.LoginConfig"));
        mapper.addRule("web-app/login-config/auth-method",
                       mapper.methodSetter("setAuthMethod", 0));
View Full Code Here

Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

                       mapper.methodParam(0));
        mapper.addRule("web-app/resource-env-ref/resource-env-ref-type",
                       mapper.methodParam(1));

        mapper.addRule("web-app/resource-ref",
            mapper.objectCreate("org.apache.catalina.deploy.ContextResource"));
        mapper.addRule("web-app/resource-ref",
                mapper.addChild("addResource",
                                "org.apache.catalina.deploy.ContextResource"));
        mapper.addRule("web-app/resource-ref/description",
                       mapper.methodSetter("setDescription", 0));
View Full Code Here

Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

                       mapper.methodSetter("setScope", 0));
        mapper.addRule("web-app/resource-ref/res-type",
                       mapper.methodSetter("setType", 0));

        mapper.addRule("web-app/security-constraint",
                       mapper.objectCreate("org.apache.catalina.deploy.SecurityConstraint"));
        mapper.addRule("web-app/security-constraint",
                       mapper.addChild("addConstraint",
                                       "org.apache.catalina.deploy.SecurityConstraint"));
        mapper.addRule("web-app/security-constraint/auth-constraint",
                       new SetAuthConstraint());
View Full Code Here

Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

        mapper.addRule("web-app/security-constraint/display-name",
                       mapper.methodSetter("setDisplayName", 0));
        mapper.addRule("web-app/security-constraint/user-data-constraint/transport-guarantee",
                       mapper.methodSetter("setUserConstraint", 0));
        mapper.addRule("web-app/security-constraint/web-resource-collection",
                       mapper.objectCreate("org.apache.catalina.deploy.SecurityCollection"));
        mapper.addRule("web-app/security-constraint/web-resource-collection",
                       mapper.addChild("addCollection",
                                       "org.apache.catalina.deploy.SecurityCollection"));
        mapper.addRule("web-app/security-constraint/web-resource-collection/http-method",
                       mapper.methodSetter("addMethod", 0));
View Full Code Here

Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

        mapper.addRule("web-app/distributable",
                       new SetDistributableAction());

        mapper.addRule("web-app/ejb-local-ref",
                 mapper.objectCreate("org.apache.catalina.deploy.ContextLocalEjb"));
        mapper.addRule("web-app/ejb-local-ref",
                       mapper.addChild("addLocalEjb",
                                     "org.apache.catalina.deploy.ContextLocalEjb"));
        mapper.addRule("web-app/ejb-local-ref/description",
                       mapper.methodSetter("setDescription", 0));
View Full Code Here

Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

                       mapper.methodSetter("setLocal", 0));
        mapper.addRule("web-app/ejb-local-ref/ejb-link",
                       mapper.methodSetter("setLink", 0));

        mapper.addRule("web-app/ejb-ref",
                 mapper.objectCreate("org.apache.catalina.deploy.ContextEjb"));
        mapper.addRule("web-app/ejb-ref",
                       mapper.addChild("addEjb",
                                     "org.apache.catalina.deploy.ContextEjb"));
        mapper.addRule("web-app/ejb-ref/description",
                       mapper.methodSetter("setDescription", 0));
View Full Code Here

Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

                       mapper.methodSetter("setRemote", 0));
        mapper.addRule("web-app/ejb-ref/ejb-link",
                       mapper.methodSetter("setLink", 0));

        mapper.addRule("web-app/env-entry",
         mapper.objectCreate("org.apache.catalina.deploy.ContextEnvironment"));
        mapper.addRule("web-app/env-entry",
                       mapper.addChild("addEnvironment",
                             "org.apache.catalina.deploy.ContextEnvironment"));
        mapper.addRule("web-app/env-entry/env-entry-description",
                       mapper.methodSetter("setDescription", 0));
View Full Code Here

Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

                       mapper.methodSetter("setType", 0));
        mapper.addRule("web-app/env-entry/env-entry-value",
                       mapper.methodSetter("setValue", 0));

        mapper.addRule("web-app/error-page",
                  mapper.objectCreate("org.apache.catalina.deploy.ErrorPage"));
        mapper.addRule("web-app/error-page",
                       mapper.addChild("addErrorPage",
                               "org.apache.catalina.deploy.ErrorPage"));
        mapper.addRule("web-app/error-page/error-code",
                       mapper.methodSetter("setErrorCode", 0));
View Full Code Here

Examples of org.apache.catalina.util.xml.XmlMapper.objectCreate()

                       mapper.methodSetter("setExceptionType", 0));
        mapper.addRule("web-app/error-page/location",
                       mapper.methodSetter("setLocation", 0));

        mapper.addRule("web-app/filter",
                  mapper.objectCreate("org.apache.catalina.deploy.FilterDef"));
        mapper.addRule("web-app/filter",
                       mapper.addChild("addFilterDef",
                                      "org.apache.catalina.deploy.FilterDef"));
        mapper.addRule("web-app/filter/description",
                       mapper.methodSetter("setDescription", 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.