Example usage for com.liferay.portal.kernel.resiliency.spi SPI getRegistrationReference

List of usage examples for com.liferay.portal.kernel.resiliency.spi SPI getRegistrationReference

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.resiliency.spi SPI getRegistrationReference.

Prototype

public RegistrationReference getRegistrationReference() throws RemoteException;

Source Link

Usage

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

License:Open Source License

private static void _countDown() throws Exception {
    _countDownLatch.countDown();//from   w  ww . j  a v a 2 s  .c o m

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