Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.IPentahoSystemListener.shutdown()


    IPentahoSystemListener listener = (IPentahoSystemListener) pluginAdapter;

    assertTrue( listener.startup( session ) );

    // this does not do anything but it shouldn't error
    listener.shutdown();
  }
}
View Full Code Here


    IPentahoSystemListener listener = (IPentahoSystemListener) mgr;

    assertFalse( listener.startup( session ) );

    // this does not do anything but it shouldn't error
    listener.shutdown();

    finishTest();
  }

}
View Full Code Here

        if ( listener != null ) {
          if ( debug ) {
            Logger.debug( PentahoSystem.class, "Shutdown Listener: " + listener.getClass().getName() ); //$NON-NLS-1$
          }
          try {
            listener.shutdown();
          } catch ( Throwable e ) {
            Logger.error( PentahoSystem.class.getName(), Messages.getInstance().getErrorString(
                "PentahoSystem.ERROR_0015_SHUTDOWN_FAILURE", listener.getClass().getName() ), e ); //$NON-NLS-1$
          }
        }
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.