public class EventListenerList extends Object
Constructor and Description |
---|
EventListenerList() |
Modifier and Type | Method and Description |
---|---|
void |
add(EventListenerDescriptor descriptor) |
List<PostCommitEventListener> |
getAsyncPostCommitListeners() |
List<EventListenerDescriptor> |
getAsyncPostCommitListenersDescriptors() |
EventListenerDescriptor |
getDescriptor(String listenerName) |
List<EventListenerDescriptor> |
getEnabledAsyncPostCommitListenersDescriptors() |
List<EventListenerDescriptor> |
getEnabledInlineListenersDescriptors() |
List<EventListenerDescriptor> |
getEnabledSyncPostCommitListenersDescriptors() |
List<EventListener> |
getInLineListeners() |
List<EventListenerDescriptor> |
getInlineListenersDescriptors() |
List<String> |
getListenerNames() |
List<PostCommitEventListener> |
getSyncPostCommitListeners() |
List<EventListenerDescriptor> |
getSyncPostCommitListenersDescriptors() |
boolean |
hasListener(String name) |
void |
recomputeEnabledListeners() |
void |
removeDescriptor(EventListenerDescriptor descriptor) |
public void add(EventListenerDescriptor descriptor) throws Exception
Exception
public void removeDescriptor(EventListenerDescriptor descriptor)
public EventListenerDescriptor getDescriptor(String listenerName)
public List<EventListener> getInLineListeners()
public List<PostCommitEventListener> getSyncPostCommitListeners()
public List<PostCommitEventListener> getAsyncPostCommitListeners()
public List<EventListenerDescriptor> getInlineListenersDescriptors()
public List<EventListenerDescriptor> getSyncPostCommitListenersDescriptors()
public List<EventListenerDescriptor> getAsyncPostCommitListenersDescriptors()
public void recomputeEnabledListeners()
public List<EventListenerDescriptor> getEnabledInlineListenersDescriptors()
public List<EventListenerDescriptor> getEnabledSyncPostCommitListenersDescriptors()
public List<EventListenerDescriptor> getEnabledAsyncPostCommitListenersDescriptors()
public boolean hasListener(String name)
Copyright © 2013 Nuxeo SA. All Rights Reserved.