Package org.apache.shale.clay.config.beans

Examples of org.apache.shale.clay.config.beans.ComponentConfigBean


        }

        try {

            // load xml config
            ConfigBean config = new ComponentConfigBean();
            config.init(event.getServletContext());
            ConfigBeanFactory.register(config);

            // load HTML template config
            config = new TemplateConfigBean();
            config.init(event.getServletContext());
            ConfigBeanFactory.register(config);

            // load XML template config
            config = new TemplateComponentConfigBean();
            config.init(event.getServletContext());
            ConfigBeanFactory.register(config);



        } catch (RuntimeException e) {
View Full Code Here


        // sets the default html template suffix ".xml"
        servletContext.addInitParameter(Globals.CLAY_XML_TEMPLATE_SUFFIX, ".xml");
      
        // creates the component metadata container from the xml config files
        standardConfigBean = new ComponentConfigBean();
        // creates a container that builds the component metadata from an HTML 
        // template configuration.
        htmlTemplateConfigBean = new TemplateConfigBean();
        // full xml view support
        xmlTemplateConfigBean = new TemplateComponentConfigBean();
View Full Code Here

TOP

Related Classes of org.apache.shale.clay.config.beans.ComponentConfigBean

Copyright © 2018 www.massapicom. 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.