Package com.atlassian.confluence.event
Class ConfluenceListenerHandlersConfiguration
java.lang.Object
com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration
- All Implemented Interfaces:
com.atlassian.event.config.ListenerHandlersConfiguration
public class ConfluenceListenerHandlersConfiguration
extends Object
implements com.atlassian.event.config.ListenerHandlersConfiguration
Configures which kinds of listeners Confluence supports.
Currently supports EventListener
annotated methods, PluginEventListener
annotated methods, and
classes that implement the legacy EventListener
interface. Also configures timing code for listeners that run
too long.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
System property to configure the maximum time for a listener to complete before logging warnings. -
Constructor Summary
ConstructorsConstructorDescriptionConfluenceListenerHandlersConfiguration
(ApplicationStatusService applicationStatusService) -
Method Summary
-
Field Details
-
EVENT_LISTENER_WARN_THRESHOLD_SYSTEM_PROPERTY
System property to configure the maximum time for a listener to complete before logging warnings.Set to <= 0 to disable this logging completely.
- See Also:
-
EVENT_LISTENER_WARN_THRESHOLD_DEFAULT
TimingEventPublisher.EVENT_PUBLISH_WARN_THRESHOLD_SYSTEM_PROPERTY
- Constant Field Values
-
-
Constructor Details
-
ConfluenceListenerHandlersConfiguration
-
-
Method Details
-
getListenerHandlers
- Specified by:
getListenerHandlers
in interfacecom.atlassian.event.config.ListenerHandlersConfiguration
-