Class AuditLogHelper

    • Constructor Detail

      • AuditLogHelper

        public AuditLogHelper()
    • Method Detail

      • enqueue

        public void enqueue​(AuditLogBuilder event)
        Puts an AuditLogBuilder on the queue for saving. This should be called in a finally {} block by the thread that both sets the Security Context, and sets the ThreadLocal AuditLogHolder
        Specified by:
        enqueue in interface AuditLogSupplier
        Parameters:
        event -
      • newInstance

        public AuditLogBuilder newInstance()
        Creates a new AuditLogBuilder instance. If one already exists within the current, a child is automatically created and added to the parent
        Specified by:
        newInstance in interface AuditLogSupplier
        Returns: