io.soffa.foundation.commons.EventBus Maven / Gradle / Ivy
package io.soffa.foundation.commons;
@SuppressWarnings("PMD.ClassNamingConventions")
public final class EventBus {
private static final com.google.common.eventbus.EventBus BUS = new com.google.common.eventbus.EventBus("default");
private EventBus() {
}
public static void register(Object target) {
BUS.register(target);
}
public static void unregister(Object target) {
BUS.unregister(target);
}
public static void post(Object event) {
BUS.post(event);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy