Examples of TldConfig


Examples of org.apache.catalina.startup.TldConfig

                // if any
                if (pipeline instanceof Lifecycle)
                    ((Lifecycle) pipeline).start();

                // Read tldListeners. XXX Option to disable
                TldConfig tldConfig = new TldConfig();
                tldConfig.setContext(this);

                // (1)  check if the attribute has been defined
                //      on the context element.
                tldConfig.setTldValidation(tldValidation);
                tldConfig.setTldNamespaceAware(tldNamespaceAware);

                // (2) if the attribute wasn't defined on the context
                //     try the host.
                if (!tldValidation){
                    tldConfig.setTldValidation
                        (((StandardHost) getParent()).getXmlValidation());
                }

                if (!tldNamespaceAware){
                    tldConfig.setTldNamespaceAware
                        (((StandardHost) getParent()).getXmlNamespaceAware());
                }
                   
                try {
                    tldConfig.execute();
                } catch (Exception ex) {
                    log.error("Error reading tld listeners "
                              + ex.toString(), ex);
                    //ok=false;
                }
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.