Package org.apache.catalina.util.xml

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


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


                       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

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

        createStartMapperContext("Server/Service/Engine/Context", mapper);
        createStartMapperDefaultContext(
View Full Code Here

                       new CopyParentClassLoaderAction());
        mapper.addRule("Server/Service/Engine/Host",
                       new LifecycleListenerAction
                           ("org.apache.catalina.startup.HostConfig",
                            "configClass"));
        mapper.addRule("Server/Service/Engine/Host", mapper.addChild
                       ("addChild", "org.apache.catalina.Container"));

        mapper.addRule("Server/Service/Engine/Host/Alias",
                       mapper.methodSetter("addAlias", 0));
View Full Code Here

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

        createStartMapperContext("Server/Service/Engine/Host/Context", mapper);
        createStartMapperDefaultContext
            ("Server/Service/Engine/Host/DefaultContext", mapper);
View Full Code Here

        mapper.addRule("Server/Service/Engine/Host/Context/Manager/Store",
                       mapper.objectCreate(null, "className"));
        mapper.addRule("Server/Service/Engine/Host/Context/Manager/Store",
                       mapper.setProperties());
        mapper.addRule("Server/Service/Engine/Host/Context/Manager/Store",
                       mapper.addChild("setStore", "org.apache.catalina.Store"));

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

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

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

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

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

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

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

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

        mapper.addRule("Server/Service/Engine/Host/Valve", mapper.objectCreate
                       (null, "className"));
        mapper.addRule("Server/Service/Engine/Host/Valve",
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.