1 package com.atlassian.event.internal;
2
3 import com.atlassian.event.config.ListenerHandlersConfiguration;
4 import com.atlassian.event.spi.ListenerHandler;
5 import com.google.common.collect.Lists;
6
7 import java.util.List;
8
9 /**
10 * <p>The default configuration that only uses the {@link com.atlassian.event.internal.AnnotatedMethodsListenerHandler}.</p>
11 * <p>Products that need to remain backward compatible will have to override this configuration</p>
12 */
13 public class ListenerHandlerConfigurationImpl implements ListenerHandlersConfiguration {
14 public List<ListenerHandler> getListenerHandlers() {
15 return Lists.newArrayList(new AnnotatedMethodsListenerHandler());
16 }
17 }