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) void
start
(ComponentContext context) Start the component.void
stop
(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, 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.audit.service.AuditBackendFactory
getApplicationStartedOrder
Methods inherited from interface org.nuxeo.runtime.model.Component
activate, deactivate, setName
Methods inherited from interface org.nuxeo.runtime.model.Extensible
registerExtension, unregisterExtension
Methods 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: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
Description copied from interface:Component
Stop the component.- Specified by:
stop
in interfaceComponent
- Overrides:
stop
in classDefaultComponent
-
getAuditBackend
- Specified by:
getAuditBackend
in interfaceAuditBackendFactory<SQLAuditBackend>
- Returns:
- the
AuditBackend
with the givenname
-