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.
Event service configuration.
- Author:
- Julien Anguenot
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringDeprecated, for removal: This API element is subject to removal in a future version.protected Map<String, AuditStorageDescriptor> Deprecated, for removal: This API element is subject to removal in a future version.protected Map<String, AuditStorage> Deprecated, for removal: This API element is subject to removal in a future version.protected AuditBackendDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.If passed as true on the event properties, event not loggedprotected static final org.apache.logging.log4j.LoggerDeprecated, for removal: This API element is subject to removal in a future version.static final ComponentNameDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescription<T> TgetAdapter(Class<T> adapter) Deprecated, for removal: This API element is subject to removal in a future version.Returns an object which is an instance of the given class associated with this object.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.voidregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) Deprecated, for removal: This API element is subject to removal in a future version.voidregisterExtension(Extension extension) Deprecated, for removal: This API element is subject to removal in a future version.Registers the given extension.voidstart(ComponentContext context) Deprecated, for removal: This API element is subject to removal in a future version.Start the component.voidstop(ComponentContext context) Deprecated, for removal: This API element is subject to removal in a future version.Stop the component.voidunregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getDescriptor, getDescriptors, getLastModified, getRegistry, register, setLastModified, setModifiedNow, setName, unregister, unregisterExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Component
getApplicationStartedOrder
-
Field Details
-
NAME
Deprecated, for removal: This API element is subject to removal in a future version. -
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 logDeprecated, for removal: This API element is subject to removal in a future version. -
AUDIT_COMPONENT_NAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
backend
Deprecated, for removal: This API element is subject to removal in a future version. -
auditStorageDescriptors
Deprecated, for removal: This API element is subject to removal in a future version. -
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
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ComponentStart the component. This method is called after all the components were resolved and activated- Specified by:
startin interfaceComponent- Overrides:
startin classDefaultComponent
-
stop
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ComponentStop the component.- Specified by:
stopin interfaceComponent- Overrides:
stopin classDefaultComponent
-
getAdapter
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AdaptableReturns an object which is an instance of the given class associated with this object. Returnsnullif no such object can be found.- Specified by:
getAdapterin interfaceAdaptable- Overrides:
getAdapterin classDefaultComponent- Parameters:
adapter- the adapter class to look up- Returns:
- a object castable to the given class, or
nullif this object does not have an adapter for the given class
-
getAuditableEventNames
Deprecated, for removal: This API element is subject to removal in a future version. -
getBackend
Deprecated, for removal: This API element is subject to removal in a future version. -
getDocumentAdapters
Deprecated, for removal: This API element is subject to removal in a future version. -
getEventExtendedInfoDescriptors
Deprecated, for removal: This API element is subject to removal in a future version.- Since:
- 7.4
-
getExtendedInfoDescriptors
Deprecated, for removal: This API element is subject to removal in a future version. -
registerExtension
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ExtensibleRegisters the given extension.- Specified by:
registerExtensionin interfaceExtensible- Overrides:
registerExtensionin classDefaultComponent- 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:
registerContributionin classDefaultComponent
-
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:
unregisterContributionin classDefaultComponent
-
getAuditStorage
Deprecated, for removal: This API element is subject to removal in a future version.- Since:
- 9.3
-
AuditServiceinstead