public class NXAuditEventsService extends DefaultComponent
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AuditStorageDescriptor> |
auditStorageDescriptors |
protected Map<String,AuditStorage> |
auditStorages |
protected AuditBackend |
backend |
protected AuditBackendDescriptor |
backendConfig |
protected AuditBulker |
bulker
Deprecated.
since 10.10, audit bulker is now handled with nuxeo-stream, no replacement
|
protected AuditBulkerDescriptor |
bulkerConfig
Deprecated.
since 10.10, audit bulker is now handled with nuxeo-stream, no replacement
|
static String |
DISABLE_AUDIT_LOGGER
If passed as true on the event properties, event not logged
|
protected Set<AdapterDescriptor> |
documentAdapters |
protected Map<String,List<ExtendedInfoDescriptor>> |
eventExtendedInfoDescriptors |
protected Set<String> |
eventNames |
protected Set<ExtendedInfoDescriptor> |
extendedInfoDescriptors |
protected static org.apache.logging.log4j.Logger |
log |
static ComponentName |
NAME |
lastModified, name| Constructor and Description |
|---|
NXAuditEventsService() |
activate, deactivate, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, unregister, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStartedpublic static final ComponentName NAME
public static final String DISABLE_AUDIT_LOGGER
protected static final org.apache.logging.log4j.Logger log
protected final Set<ExtendedInfoDescriptor> extendedInfoDescriptors
protected final Map<String,List<ExtendedInfoDescriptor>> eventExtendedInfoDescriptors
protected final Set<AdapterDescriptor> documentAdapters
protected final Set<String> eventNames
protected AuditBackend backend
protected AuditBackendDescriptor backendConfig
@Deprecated protected AuditBulker bulker
@Deprecated protected AuditBulkerDescriptor bulkerConfig
protected Map<String,AuditStorageDescriptor> auditStorageDescriptors
protected Map<String,AuditStorage> auditStorages
public NXAuditEventsService()
public int getApplicationStartedOrder()
ComponentComponent.applicationStarted(org.nuxeo.runtime.model.ComponentContext).
Components are notified in increasing order. Order 1000 is the default order for components that don't care. Order 100 is the repository initialization.
public void start(ComponentContext context)
Componentstart in interface Componentstart in class DefaultComponentpublic void stop(ComponentContext context)
Componentstop in interface Componentstop in class DefaultComponentprotected void doRegisterAdapter(AdapterDescriptor desc)
protected void doRegisterEvent(EventDescriptor desc)
protected void doRegisterExtendedInfo(ExtendedInfoDescriptor desc)
protected void doUnregisterAdapter(AdapterDescriptor desc)
protected void doUnregisterEvent(EventDescriptor desc)
protected void doUnregisterExtendedInfo(ExtendedInfoDescriptor desc)
public <T> T getAdapter(Class<T> adapter)
Adaptablenull
if no such object can be found.getAdapter in interface AdaptablegetAdapter in class DefaultComponentadapter - the adapter class to look upnull if this object does not have an adapter for
the given classpublic Set<String> getAuditableEventNames()
public AuditBackend getBackend()
public Set<AdapterDescriptor> getDocumentAdapters()
public Map<String,List<ExtendedInfoDescriptor>> getEventExtendedInfoDescriptors()
public Set<ExtendedInfoDescriptor> getExtendedInfoDescriptors()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution in class DefaultComponentpublic AuditStorage getAuditStorage(String id)
Copyright © 2019 Nuxeo. All rights reserved.