Package org.apache.catalina.util.xml

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


        mapper.addRule("Server/Service/Engine/Host/Valve", mapper.objectCreate
                       (null, "className"));
        mapper.addRule("Server/Service/Engine/Host/Valve",
                       mapper.setProperties());
        mapper.addRule("Server/Service/Engine/Host/Valve", mapper.addChild
                       ("addValve", "org.apache.catalina.Valve"));

        mapper.addRule("Server/Service/Engine/Listener", mapper.objectCreate
                       (null, "className"));
        mapper.addRule("Server/Service/Engine/Listener",
View Full Code Here


        mapper.addRule("Server/Service/Engine/Listener", mapper.objectCreate
                       (null, "className"));
        mapper.addRule("Server/Service/Engine/Listener",
                       mapper.setProperties());
        mapper.addRule("Server/Service/Engine/Listener", mapper.addChild
                       ("addLifecycleListener",
                        "org.apache.catalina.LifecycleListener"));

        mapper.addRule("Server/Service/Engine/Logger", mapper.objectCreate
                       (null, "className"));
View Full Code Here

                        "org.apache.catalina.LifecycleListener"));

        mapper.addRule("Server/Service/Engine/Logger", mapper.objectCreate
                       (null, "className"));
        mapper.addRule("Server/Service/Engine/Logger", mapper.setProperties());
        mapper.addRule("Server/Service/Engine/Logger", mapper.addChild
                       ("setLogger", "org.apache.catalina.Logger"));

        mapper.addRule("Server/Service/Engine/Realm", mapper.objectCreate
                       (null, "className"));
        mapper.addRule("Server/Service/Engine/Realm", mapper.setProperties());
View Full Code Here

                       ("setLogger", "org.apache.catalina.Logger"));

        mapper.addRule("Server/Service/Engine/Realm", mapper.objectCreate
                       (null, "className"));
        mapper.addRule("Server/Service/Engine/Realm", mapper.setProperties());
        mapper.addRule("Server/Service/Engine/Realm", mapper.addChild
                       ("setRealm", "org.apache.catalina.Realm"));

        mapper.addRule("Server/Service/Engine/Resources", mapper.objectCreate
                       ("org.apache.naming.resources.FileDirContext",
                        "className"));
View Full Code Here

        mapper.addRule("Server/Service/Engine/Resources", mapper.objectCreate
                       ("org.apache.naming.resources.FileDirContext",
                        "className"));
        mapper.addRule("Server/Service/Engine/Resources",
                       mapper.setProperties());
        mapper.addRule("Server/Service/Engine/Resources", mapper.addChild
                       ("setResources", "javax.naming.directory.DirContext"));

        mapper.addRule("Server/Service/Engine/Valve", mapper.objectCreate
                       (null, "className"));
        mapper.addRule("Server/Service/Engine/Valve", mapper.setProperties());
View Full Code Here

                       ("setResources", "javax.naming.directory.DirContext"));

        mapper.addRule("Server/Service/Engine/Valve", mapper.objectCreate
                       (null, "className"));
        mapper.addRule("Server/Service/Engine/Valve", mapper.setProperties());
        mapper.addRule("Server/Service/Engine/Valve", mapper.addChild
                       ("addValve", "org.apache.catalina.Valve"));

        return (mapper);

    }
View Full Code Here

        mapper.addRule("Server", mapper.objectCreate
                       ("org.apache.catalina.core.StandardServer",
                        "className"));
        mapper.addRule("Server", mapper.setProperties());
        mapper.addRule("Server", mapper.addChild
                       ("setServer", "org.apache.catalina.Server"));

        return (mapper);

    }
View Full Code Here

                       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));
        mapper.addRule("web-app/ejb-local-ref/ejb-ref-name",
                       mapper.methodSetter("setName", 0));
View Full Code Here

                       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));
        mapper.addRule("web-app/ejb-ref/ejb-ref-name",
                       mapper.methodSetter("setName", 0));
View Full Code Here

                       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));
        mapper.addRule("web-app/env-entry/env-entry-name",
                       mapper.methodSetter("setName", 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.