Package org.zkoss.zk.ui.util

Examples of org.zkoss.zk.ui.util.Monitor


    init();

    final Configuration config = getWebApp().getConfiguration();
    config.invokeSessionInits(this, request); //it might throw exception

    final Monitor monitor = config.getMonitor();
    if (monitor != null) {
      try {
        monitor.sessionCreated(this);
      } catch (Throwable ex) {
        log.error(ex);
      }
    }
  }
View Full Code Here


    final Configuration config = getWebApp().getConfiguration();
    config.invokeSessionCleanups(this);

    cleanSessAttrs();

    final Monitor monitor = config.getMonitor();
    if (monitor != null) {
      try {
        monitor.sessionDestroyed(this);
      } catch (Throwable ex) {
        log.error(ex);
      }
    }
View Full Code Here

    config.invokeDesktopCleanups(desktop);
      //Feature 1767347: call DesktopCleanup before desktopDestroyed
      //such that app dev has a chance to manipulate the desktop
    ((WebAppCtrl)wapp).getUiEngine().desktopDestroyed(desktop);

    final Monitor monitor = desktop.getWebApp().getConfiguration().getMonitor();
    if (monitor != null) {
      try {
        monitor.desktopDestroyed(desktop);
      } catch (Throwable ex) {
        log.error(ex);
      }
    }
View Full Code Here

      if (exec != null && exec.isVoided()) return; //sendredirect or forward

      if (dc != null)
        dc.addDesktop(this); //add to cache after invokeDesktopInits

      final Monitor monitor = config.getMonitor();
      if (monitor != null) {
        try {
          monitor.desktopCreated(this);
        } catch (Throwable ex) {
          log.error(ex);
        }
      }
    } finally {
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.util.Monitor

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.