Package org.hive2hive.core.events.framework.interfaces.user

Examples of org.hive2hive.core.events.framework.interfaces.user.ILogoutEvent


    };
  }

  private ICompletionHandle createLogoutHandle(UserCredentials credentials) {

    final ILogoutEvent logoutEvent = new LogoutEvent(credentials);

    return new ICompletionHandle() {
      public void onCompletionSuccess() {
        notifyLogoutStatus(true, logoutEvent);
      }

      public void onCompletionFailure(RollbackReason reason) {
        logoutEvent.setRollbackReason(reason);
        notifyLogoutStatus(false, logoutEvent);
      }
    };
  }
View Full Code Here

TOP

Related Classes of org.hive2hive.core.events.framework.interfaces.user.ILogoutEvent

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.