Package com.sun.faces.scripting

Examples of com.sun.faces.scripting.GroovyHelper


    public void contextDestroyed(ServletContextEvent sce) {
        webAppListener.contextDestroyed(sce);
        webAppListener = null;
        ServletContext context = sce.getServletContext();
        GroovyHelper helper = GroovyHelper.getCurrentInstance(context);
        if (helper != null) {
            helper.setClassLoader();
        }

        LOGGER.log(Level.FINE,
                   "ConfigureListener.contextDestroyed({0})",
                   context.getServletContextName());
View Full Code Here


    }

    private void initScripting() {
        //if (isDevModeEnabled()) {
            GroovyHelper helper = GroovyHelperFactory.createHelper();
            if (helper != null) {
                helper.setClassLoader();
            }
        //}
    }
View Full Code Here

        if (LOGGER.isLoggable(Level.INFO)) {
            LOGGER.log(Level.INFO,
                       "Reloading JSF configuration for context {0}",
                       getServletContextIdentifier(sc));
        }
        GroovyHelper helper = GroovyHelper.getCurrentInstance();
        if (helper != null) {
            helper.setClassLoader();
        }
        // tear down the application
        try {
            List<HttpSession> sessions = webAppListener.getActiveSessions();
            if (sessions != null) {
View Full Code Here

    public void contextDestroyed(ServletContextEvent sce) {
        webAppListener.contextDestroyed(sce);
        webAppListener = null;
        ServletContext context = sce.getServletContext();
        GroovyHelper helper = GroovyHelper.getCurrentInstance(context);
        if (helper != null) {
            helper.setClassLoader();
        }

        if (LOGGER.isLoggable(Level.FINE)) {
            LOGGER.log(Level.FINE,
                       "ConfigureListener.contextDestroyed({0})",
View Full Code Here

    }

    private void initScripting() {
        //if (isDevModeEnabled()) {
            GroovyHelper helper = GroovyHelperFactory.createHelper();
            if (helper != null) {
                helper.setClassLoader();
            }
        //}
    }
View Full Code Here

        if (LOGGER.isLoggable(Level.INFO)) {
            LOGGER.log(Level.INFO,
                       "Reloading JSF configuration for context {0}",
                       getServletContextIdentifier(sc));
        }
        GroovyHelper helper = GroovyHelper.getCurrentInstance();
        if (helper != null) {
            helper.setClassLoader();
        }
        // tear down the application
        try {
            List<HttpSession> sessions = webAppListener.getActiveSessions();
            if (sessions != null) {
View Full Code Here

        }
        ServletContext context = sce.getServletContext();
        if (!ConfigManager.getInstance().hasBeenInitialized(context)) {
            return;
        }
        GroovyHelper helper = GroovyHelper.getCurrentInstance(context);
        if (helper != null) {
            helper.setClassLoader();
        }
        if (LOGGER.isLoggable(Level.FINE)) {
            LOGGER.log(Level.FINE,
                    "ConfigureListener.contextDestroyed({0})",
                    context.getServletContextName());
View Full Code Here

    }

    private void initScripting() {
        if (webConfig.isOptionEnabled(EnableGroovyScripting)) {
            GroovyHelper helper = GroovyHelperFactory.createHelper();
            if (helper != null) {
                helper.setClassLoader();
            }
        }
    }
View Full Code Here

        if (LOGGER.isLoggable(Level.INFO)) {
            LOGGER.log(Level.INFO,
                    "Reloading JSF configuration for context {0}",
                    getServletContextIdentifier(sc));
        }
        GroovyHelper helper = GroovyHelper.getCurrentInstance();
        if (helper != null) {
            helper.setClassLoader();
        }
        // tear down the application
        try {
            List<HttpSession> sessions = webAppListener.getActiveSessions();
            if (sessions != null) {
View Full Code Here

        }
        ServletContext context = sce.getServletContext();
        if (!ConfigManager.getInstance().hasBeenInitialized(context)) {
            return;
        }
        GroovyHelper helper = GroovyHelper.getCurrentInstance(context);
        if (helper != null) {
            helper.setClassLoader();
        }

        LOGGER.log(Level.FINE,
                   "ConfigureListener.contextDestroyed({0})",
                   context.getServletContextName());
View Full Code Here

TOP

Related Classes of com.sun.faces.scripting.GroovyHelper

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.