Package org.apache.beehive.netui.util.config.bean

Examples of org.apache.beehive.netui.util.config.bean.PageflowHandlers


       
        //
        // Load/create Handlers.
        //
        NetuiConfigDocument.NetuiConfig netuiConfig = ConfigUtil.getConfig();
        PageflowHandlers handlers = netuiConfig.getPageflowHandlers();
       
        DefaultHandler defaultActionForwardHandler = new DefaultActionForwardHandler( servletContext );
        DefaultHandler defaultExceptionsHandler = new DefaultExceptionsHandler( servletContext );
        DefaultHandler defaultForwardRedirectHandler = new DefaultForwardRedirectHandler( servletContext );
        DefaultHandler defaultLoginHandler = new DefaultLoginHandler( servletContext );
        DefaultHandler defaultReloadableClassHandler = new DefaultReloadableClassHandler( servletContext );
       
        _actionForwardHandler = ( ActionForwardHandler )
                adaptHandler( handlers != null ? handlers.getActionForwardHandlerArray() : null,
                              defaultActionForwardHandler, ActionForwardHandler.class, servletContext );
       
        _exceptionsHandler = ( ExceptionsHandler )
                adaptHandler( handlers != null ? handlers.getExceptionsHandlerArray() : null, defaultExceptionsHandler,
                              ExceptionsHandler.class, servletContext );
       
        _forwardRedirectHandler = ( ForwardRedirectHandler )
                adaptHandler( handlers != null ? handlers.getForwardRedirectHandlerArray() : null,
                              defaultForwardRedirectHandler, ForwardRedirectHandler.class, servletContext );
       
        _loginHandler = ( LoginHandler )
                adaptHandler( handlers != null ? handlers.getLoginHandlerArray() : null, defaultLoginHandler,
                              LoginHandler.class, servletContext );
       
        _reloadableClassHandler = ( ReloadableClassHandler )
                adaptHandler( handlers != null ? handlers.getReloadableClassHandlerArray() : null,
                              defaultReloadableClassHandler, ReloadableClassHandler.class, servletContext );
    }
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.util.config.bean.PageflowHandlers

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.