Package org.apache.catalina.util.xml

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


                       new LifecycleListenerAction
                           ("org.apache.catalina.startup.EngineConfig",
                            "configClass"));
        mapper.addRule("Server/Service/Engine",
                       new SetParentClassLoaderAction(parentClassLoader));
        mapper.addRule("Server/Service/Engine", mapper.addChild
                       ("setContainer", "org.apache.catalina.Container"));

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


        // Configure the actions we will be using

        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"));

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

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

        mapper.addRule("Server/Service", mapper.objectCreate
                       ("org.apache.catalina.core.StandardService", "className"));
View Full Code Here

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

        mapper.addRule("Server/Service", mapper.objectCreate
                       ("org.apache.catalina.core.StandardService", "className"));
        mapper.addRule("Server/Service", mapper.setProperties());
        mapper.addRule("Server/Service", mapper.addChild
                       ("addService", "org.apache.catalina.Service"));

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

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

        mapper.addRule("Server/Service/Connector", mapper.objectCreate
                       ("org.apache.catalina.connector.http.HttpConnector",
View Full Code Here

        mapper.addRule("Server/Service/Connector", mapper.objectCreate
                       ("org.apache.catalina.connector.http.HttpConnector",
                        "className"));
        mapper.addRule("Server/Service/Connector", mapper.setProperties());
        mapper.addRule("Server/Service/Connector", mapper.addChild
                       ("addConnector", "org.apache.catalina.Connector"));

        mapper.addRule("Server/Service/Connector/Factory", mapper.objectCreate
                       ("org.apache.catalina.net.DefaultServerSocketFactory",
                        "className"));
View Full Code Here

        mapper.addRule("Server/Service/Connector/Factory", mapper.objectCreate
                       ("org.apache.catalina.net.DefaultServerSocketFactory",
                        "className"));
        mapper.addRule("Server/Service/Connector/Factory",
                       mapper.setProperties());
        mapper.addRule("Server/Service/Connector/Factory", mapper.addChild
                       ("setFactory",
                        "org.apache.catalina.net.ServerSocketFactory"));

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

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

        mapper.addRule("Server/Service/Engine", mapper.objectCreate
                       ("org.apache.catalina.core.StandardEngine",
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

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.