org.apache.archiva.audit
Class MetadataAuditListener

java.lang.Object
  extended by org.apache.archiva.audit.MetadataAuditListener
All Implemented Interfaces:
AuditListener

@Service(value="auditListener#metadata")
public class MetadataAuditListener
extends Object
implements AuditListener


Field Summary
private  AuditManager auditManager
           
private static org.slf4j.Logger log
           
private  RepositorySessionFactory repositorySessionFactory
          FIXME: this could be multiple implementations and needs to be configured.
 
Constructor Summary
MetadataAuditListener()
           
 
Method Summary
 void auditEvent(AuditEvent event)
          Notification that an audit event occured.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.slf4j.Logger log

auditManager

@Inject
private AuditManager auditManager

repositorySessionFactory

@Inject
private RepositorySessionFactory repositorySessionFactory
FIXME: this could be multiple implementations and needs to be configured. It also starts a separate session to the originator of the audit event that we may rather want to pass through.

Constructor Detail

MetadataAuditListener

public MetadataAuditListener()
Method Detail

auditEvent

public void auditEvent(AuditEvent event)
Description copied from interface: AuditListener
Notification that an audit event occured.

Specified by:
auditEvent in interface AuditListener
Parameters:
event - the event details.


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.