public class NXAuditEventsService extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
static String |
DISABLE_AUDIT_LOGGER
If passed as true on the event properties, event not logged
|
static ComponentName |
NAME |
Constructor and Description |
---|
NXAuditEventsService() |
Modifier and Type | Method and Description |
---|---|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
<T> T |
getAdapter(Class<T> adapter)
Returns an object which is an instance of the given class associated with this object.
|
Set<String> |
getAuditableEventNames() |
AuditBackend |
getBackend() |
Set<AdapterDescriptor> |
getDocumentAdapters() |
Set<ExtendedInfoDescriptor> |
getExtendedInfoDescriptors() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtension
public static final ComponentName NAME
public static final String DISABLE_AUDIT_LOGGER
public void deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public <T> T getAdapter(Class<T> adapter)
Adaptable
null
if no such object can be found.getAdapter
in interface Adaptable
getAdapter
in class DefaultComponent
adapter
- the adapter class to look upnull
if this object does not have an adapter for
the given classpublic Set<ExtendedInfoDescriptor> getExtendedInfoDescriptors()
public Set<AdapterDescriptor> getDocumentAdapters()
public AuditBackend getBackend()
Copyright © 2015 Nuxeo SA. All rights reserved.