Example usage for com.liferay.portal.kernel.resiliency.mpi MPIHelperUtil getSPIs

List of usage examples for com.liferay.portal.kernel.resiliency.mpi MPIHelperUtil getSPIs

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.resiliency.mpi MPIHelperUtil getSPIs.

Prototype

public static List<SPI> getSPIs() 

Source Link

Usage

From source file:com.liferay.testmisc.messaging.TestPortletConfigMessageListener.java

License:Open Source License

private static void _countDown() throws Exception {
    _countDownLatch.countDown();/*ww  w  .j ava2  s .com*/

    for (SPI spi : MPIHelperUtil.getSPIs()) {
        IntrabandRPCUtil.execute(spi.getRegistrationReference(), new CountDownProcessCallable());
    }
}