Examples of ILogoutListener


Examples of org.pentaho.platform.api.engine.ILogoutListener

  }

  public static void invokeLogoutListeners( final IPentahoSession session ) {
    Iterator iter = PentahoSystem.logoutListeners.iterator();
    while ( iter.hasNext() ) {
      ILogoutListener listener = (ILogoutListener) iter.next();
      listener.onLogout( session );
    }
  }
View Full Code Here

Examples of org.pentaho.platform.api.engine.ILogoutListener

  public CachingPentahoEntryCollector( SessionImpl systemSession, NodeId rootID, final Map configuration )
    throws RepositoryException {
    super( systemSession, rootID, configuration );

    // Flush caches of session on logout
    PentahoSystem.addLogoutListener( new ILogoutListener() {
      @Override
      public void onLogout( IPentahoSession iPentahoSession ) {

        log.debug( "Flushing ACL Entries due to logout for session: " + iPentahoSession.getName() );
        flushCachesOfSession( iPentahoSession );
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.