Package org.nuxeo.audit.sql
Class SQLAuditBackendFactory
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.audit.sql.SQLAuditBackendFactory
- All Implemented Interfaces:
AuditBackendFactory<SQLAuditBackend>,Adaptable,Component,Extensible,TimestampedService
public class SQLAuditBackendFactory
extends DefaultComponent
implements AuditBackendFactory<SQLAuditBackend>
As this is a legacy implementation, the SQL factory doesn't handle contributions, it just instantiates one
SQLAuditBackend returned no matter what the given name is.- Since:
- 2025.0
-
Field Summary
FieldsFields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAuditBackend(String name) 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
-
backend
-
-
Constructor Details
-
SQLAuditBackendFactory
public SQLAuditBackendFactory()
-
-
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
-
stop
Description copied from interface:ComponentStop the component.- Specified by:
stopin interfaceComponent- Overrides:
stopin classDefaultComponent
-
getAuditBackend
- Specified by:
getAuditBackendin interfaceAuditBackendFactory<SQLAuditBackend>- Returns:
- the
AuditBackendwith the givenname
-