Package org.apache.rave.util

Examples of org.apache.rave.util.OverridablePropertyPlaceholderConfigurer


    public void contextInitialized(ServletContextEvent event) {
        super.contextInitialized(event);

        // expose the application's properties to the servlet (and consequently to the JSP layer)
        WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(event.getServletContext());
        OverridablePropertyPlaceholderConfigurer configurer = (OverridablePropertyPlaceholderConfigurer) context.getBean(PORTAL_PROPERTY_PLACEHOLDER_BEAN_NAME);
        event.getServletContext().setAttribute(APPLICATION_PROPERTIES_KEY, configurer.getResolvedProps());
    }
View Full Code Here

TOP

Related Classes of org.apache.rave.util.OverridablePropertyPlaceholderConfigurer

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.