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 String
Deprecated, 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 AuditBackend
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, 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.Logger
Deprecated, for removal: This API element is subject to removal in a future version.static final ComponentName
Deprecated, 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> T
getAdapter
(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.void
registerContribution
(Object contribution, String extensionPoint, ComponentInstance contributor) Deprecated, for removal: This API element is subject to removal in a future version.void
registerExtension
(Extension extension) Deprecated, for removal: This API element is subject to removal in a future version.Registers the given extension.void
start
(ComponentContext context) Deprecated, for removal: This API element is subject to removal in a future version.Start the component.void
stop
(ComponentContext context) Deprecated, for removal: This API element is subject to removal in a future version.Stop the component.void
unregisterContribution
(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, unregisterExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:Component
Start the component. This method is called after all the components were resolved and activated- Specified by:
start
in interfaceComponent
- Overrides:
start
in classDefaultComponent
-
stop
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 interfaceComponent
- Overrides:
stop
in classDefaultComponent
-
getAdapter
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. Returnsnull
if no such object can be found.- Specified by:
getAdapter
in interfaceAdaptable
- Overrides:
getAdapter
in classDefaultComponent
- 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
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:Extensible
Registers the given extension.- Specified by:
registerExtension
in interfaceExtensible
- Overrides:
registerExtension
in 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:
registerContribution
in 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:
unregisterContribution
in classDefaultComponent
-
getAuditStorage
Deprecated, for removal: This API element is subject to removal in a future version.- Since:
- 9.3
-
AuditService
instead