mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Fixed wrong eventbus
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
package org.toop.framework.eventbus;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.toop.framework.eventbus.bus.DefaultEventBus;
|
||||
import org.toop.framework.eventbus.bus.DisruptorEventBus;
|
||||
import org.toop.framework.eventbus.bus.EventBus;
|
||||
import org.toop.framework.eventbus.holder.SyncEventsHolder;
|
||||
import org.toop.framework.eventbus.holder.AsyncEventsHolder;
|
||||
import org.toop.framework.eventbus.subscriber.Subscriber;
|
||||
|
||||
public class GlobalEventBus implements EventBus {
|
||||
private static final EventBus INSTANCE = new DefaultEventBus(
|
||||
private static final EventBus INSTANCE = new DisruptorEventBus(
|
||||
LogManager.getLogger(DisruptorEventBus.class),
|
||||
new SyncEventsHolder()
|
||||
new AsyncEventsHolder()
|
||||
);
|
||||
|
||||
private GlobalEventBus() {}
|
||||
|
||||
Reference in New Issue
Block a user