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

com.netflix.governator.event.ApplicationEventDispatcher Maven / Gradle / Ivy

There is a newer version: 1.17.5
Show newest version
package com.netflix.governator.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 - 2025 Weber Informatics LLC | Privacy Policy