Package org.nuxeo.audit.opensearch1
Class OpenSearchAuditBackendFactory
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.audit.opensearch1.OpenSearchAuditBackendFactory
- All Implemented Interfaces:
AuditBackendFactory<OpenSearchAuditBackend>,Adaptable,Component,Extensible,TimestampedService
public class OpenSearchAuditBackendFactory
extends DefaultComponent
implements AuditBackendFactory<OpenSearchAuditBackend>
- Since:
- 2025.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<String, OpenSearchAuditBackend> protected static final StringFields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAuditBackend(String name) instantiateBackend(OpenSearchAuditBackendDescriptor descriptor) voidstart(ComponentContext context) Start the component.voidstop(ComponentContext context) Stop the component.Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, unregister, unregisterContribution, unregisterExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.audit.service.AuditBackendFactory
getApplicationStartedOrderMethods inherited from interface org.nuxeo.runtime.model.Component
activate, deactivate, setNameMethods inherited from interface org.nuxeo.runtime.model.Extensible
registerExtension, unregisterExtensionMethods inherited from interface org.nuxeo.runtime.service.TimestampedService
getLastModified, setLastModified
-
Field Details
-
XP_BACKEND
- See Also:
-
backends
-
-
Constructor Details
-
OpenSearchAuditBackendFactory
public OpenSearchAuditBackendFactory()
-
-
Method Details
-
start
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
-
instantiateBackend
protected OpenSearchAuditBackendFactory.OpenSearchAuditBackendWithName instantiateBackend(OpenSearchAuditBackendDescriptor descriptor) -
stop
Description copied from interface:ComponentStop the component.- Specified by:
stopin interfaceComponent- Overrides:
stopin classDefaultComponent
-
getAuditBackend
- Specified by:
getAuditBackendin interfaceAuditBackendFactory<OpenSearchAuditBackend>- Returns:
- the
AuditBackendwith the givenname
-