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

com.github.dxee.dject.event.ApplicationEventDispatcher Maven / Gradle / Ivy

Go to download

A collection of guice extensions, help to improve the developer experience of guice.

There is a newer version: 1.5.1
Show newest version
package com.github.dxee.dject.event;

import java.lang.reflect.Method;

/**
 * Interface for publishing {@link ApplicationEvent}s as well as programmatically registering
 * {@link ApplicationEventListener}s.
 */
public interface ApplicationEventDispatcher {

     ApplicationEventRegistration registerListener(Class eventType, ApplicationEventListener eventListener);

    ApplicationEventRegistration registerListener(ApplicationEventListener eventListener);

    ApplicationEventRegistration registerListener(Object instance, Method method, Class acceptedType);

    void publishEvent(ApplicationEvent event);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy