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 |
protected AuditBulkerDescriptor |
bulkerConfig |
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.commons.logging.Log |
log |
static ComponentName |
NAME |
lastModified| Constructor and Description |
|---|
NXAuditEventsService() |
activate, deactivate, getLastModified, registerExtension, setLastModified, setModifiedNow, 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.commons.logging.Log 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
protected AuditBulker bulker
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 © 2018 Nuxeo. All rights reserved.