Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.IPentahoSession.destroy()


      return callable.call();
    } finally {
      IPentahoSession sessionToDestroy = PentahoSessionHolder.getSession();
      if ( sessionToDestroy != null && sessionToDestroy != origSession ) {
        try {
          sessionToDestroy.destroy();
        } catch ( Exception e ) {
          e.printStackTrace();
        }
      }
      PentahoSessionHolder.setSession( origSession );
View Full Code Here


        String sessionId = event.getSession().getId();
        Object obj = session.getAttribute( PentahoSystem.PENTAHO_SESSION_KEY ); //$NON-NLS-1$
        if ( obj != null ) {
          IPentahoSession userSession = (IPentahoSession) obj;
          PentahoSystem.invokeLogoutListeners( userSession );
          userSession.destroy();
        } else {
          String[] info = PentahoHttpSessionListener.getSessionInfo( sessionId );
          if ( info != null ) {
            String instanceId = info[5];
            String userId = info[3];
View Full Code Here

      return callable.call();
    } finally {
      IPentahoSession sessionToDestroy = PentahoSessionHolder.getSession();
      if ( sessionToDestroy != null && sessionToDestroy != origSession ) {
        try {
          sessionToDestroy.destroy();
        } catch ( Exception e ) {
          e.printStackTrace();
        }
      }
      PentahoSessionHolder.setSession( origSession );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.