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();
}
});
}
Aggregations