Package railo.runtime.listener

Examples of railo.runtime.listener.ModernAppListener


     // classic
     if("classic".equalsIgnoreCase(type))
       return new ClassicAppListener();
     // modern
     if("modern".equalsIgnoreCase(type)) 
       return new ModernAppListener();
     // mixed
     if("mixed".equalsIgnoreCase(type)) 
       return new MixedAppListener();
       
    return defaultValue;
View Full Code Here


        ApplicationListener listener = ConfigWebUtil.loadListener(listType, null);
        int listenerMode = ConfigWebUtil.toListenerMode(listMode, -1);
        if (listener != null || listenerMode != -1) {
          // type
          if (mode == ConfigImpl.MODE_STRICT)
            listener = new ModernAppListener();
          else if (listener == null)
            listener = ConfigWebUtil.loadListener(config.getApplicationListener().getType(), null);
          if (listener == null)// this should never be true
            listener = new ModernAppListener();

          // mode
          if (listenerMode == -1) {
            listenerMode = config.getApplicationListener().getMode();
          }
View Full Code Here

    config.setDeployLogger(ConfigWebUtil.getLogAndSource(configServer, config, strLogger, true, logLevel));

    // Listener type
    ApplicationListener listener;
    if (mode == ConfigImpl.MODE_STRICT) {
      listener = new ModernAppListener();
    }
    else {

      listener = ConfigWebUtil.loadListener(application.getAttribute("listener-type"), null);
View Full Code Here

TOP

Related Classes of railo.runtime.listener.ModernAppListener

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.