Package org.zkoss.zk.ui.sys

Examples of org.zkoss.zk.ui.sys.FailoverManager


   * @since 5.0.3
   */
  protected Desktop recoverDesktop(Session sess,
  HttpServletRequest request, HttpServletResponse response,
  WebAppCtrl wappc, String dtid) {
    final FailoverManager failover = wappc.getFailoverManager();
    if (failover != null) {
      Desktop desktop = null;
      try {
        if (failover.isRecoverable(sess, dtid)) {
          desktop = WebManager.getWebManager(_ctx)
            .getDesktop(sess, request, response, null, true);
          if (desktop == null) //forward or redirect
            throw new IllegalStateException("sendRediect or forward not allowed in recovering");

View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.sys.FailoverManager

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.