Search in sources :

Example 1 with ShutdownListener

use of io.joynr.runtime.ShutdownListener in project joynr by bmwcarit.

the class ArbitratorFactory method start.

public static void start() {
    arbitratorRunnable = new ArbitratorRunnable();
    scheduler.execute(arbitratorRunnable);
    shutdownNotifier.registerForShutdown(new ShutdownListener() {

        @Override
        public void shutdown() {
            ArbitratorFactory.shutdown();
        }
    });
}
Also used : ShutdownListener(io.joynr.runtime.ShutdownListener)

Aggregations

ShutdownListener (io.joynr.runtime.ShutdownListener)1