All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.soffa.foundation.commons.EventBus Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
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