Class NXAuditEventsService

java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.audit.service.NXAuditEventsService
All Implemented Interfaces:
Adaptable, Component, Extensible, TimestampedService

@Deprecated(since="2025.0", forRemoval=true) public class NXAuditEventsService extends DefaultComponent
Deprecated, for removal: This API element is subject to removal in a future version.
since 2025.0, use AuditService instead
Event service configuration.
Author:
Julien Anguenot
  • Field Details

    • NAME

      public static final ComponentName NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DISABLE_AUDIT_LOGGER

      public static final String DISABLE_AUDIT_LOGGER
      Deprecated, for removal: This API element is subject to removal in a future version.
      If passed as true on the event properties, event not logged
      Since:
      5.7
      See Also:
    • log

      protected static final org.apache.logging.log4j.Logger log
      Deprecated, for removal: This API element is subject to removal in a future version.
    • AUDIT_COMPONENT_NAME

      protected static final String AUDIT_COMPONENT_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • backend

      protected AuditBackend backend
      Deprecated, for removal: This API element is subject to removal in a future version.
    • auditStorageDescriptors

      protected Map<String,AuditStorageDescriptor> auditStorageDescriptors
      Deprecated, for removal: This API element is subject to removal in a future version.
    • auditStorages

      protected Map<String,AuditStorage> auditStorages
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • NXAuditEventsService

      public NXAuditEventsService()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • start

      public void start(ComponentContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Component
      Start the component. This method is called after all the components were resolved and activated
      Specified by:
      start in interface Component
      Overrides:
      start in class DefaultComponent
    • stop

      public void stop(ComponentContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Component
      Stop the component.
      Specified by:
      stop in interface Component
      Overrides:
      stop in class DefaultComponent
    • getAdapter

      public <T> T getAdapter(Class<T> adapter)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Adaptable
      Returns an object which is an instance of the given class associated with this object. Returns null if no such object can be found.
      Specified by:
      getAdapter in interface Adaptable
      Overrides:
      getAdapter in class DefaultComponent
      Parameters:
      adapter - the adapter class to look up
      Returns:
      a object castable to the given class, or null if this object does not have an adapter for the given class
    • getAuditableEventNames

      public Set<String> getAuditableEventNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBackend

      public AuditBackend getBackend()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getDocumentAdapters

      public Set<AdapterDescriptor> getDocumentAdapters()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getEventExtendedInfoDescriptors

      public Map<String,List<ExtendedInfoDescriptor>> getEventExtendedInfoDescriptors()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since:
      7.4
    • getExtendedInfoDescriptors

      public Set<ExtendedInfoDescriptor> getExtendedInfoDescriptors()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • registerExtension

      public void registerExtension(Extension extension)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Extensible
      Registers the given extension.
      Specified by:
      registerExtension in interface Extensible
      Overrides:
      registerExtension in class DefaultComponent
      Parameters:
      extension - the extension to register
    • registerContribution

      public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      registerContribution in class DefaultComponent
    • unregisterContribution

      public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      unregisterContribution in class DefaultComponent
    • getAuditStorage

      public AuditStorage getAuditStorage(String id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since:
      9.3