Class EventLogger

    • Constructor Detail

      • EventLogger

        public EventLogger()
      • EventLogger

        public EventLogger​(Clock clock,
                           com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • initializeDefaultHandlers

        protected void initializeDefaultHandlers()
      • isFailOnException

        public boolean isFailOnException()
        Specified by:
        isFailOnException in interface ActivitiEventListener
        Returns:
        whether or not the current operation should fail when this listeners execution throws an exception.
      • addEventLoggerListener

        public void addEventLoggerListener​(EventLoggerListener listener)
      • createEventFlusher

        protected EventFlusher createEventFlusher()
        Subclasses that want something else than the database flusher should override this method
      • getClock

        public Clock getClock()
      • setClock

        public void setClock​(Clock clock)
      • getObjectMapper

        public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      • setObjectMapper

        public void setObjectMapper​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)