From 06539ad3be4c34e7d5070e39ad5613dd3a6cd36f Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 24 Oct 2007 15:38:38 +0000 Subject: [PATCH] [MRM-564] Audit log is not populated when artifacts are deployed Passing through listener to actual davserver impl. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587908 13f79535-47bb-0310-9956-ffa450edef68 --- .../web/repository/ProxiedDavServer.java | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java b/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java index bdf8fa97f..998652618 100644 --- a/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java +++ b/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java @@ -40,6 +40,7 @@ import org.codehaus.plexus.util.xml.pull.XmlPullParserException; import org.codehaus.plexus.webdav.AbstractDavServerComponent; import org.codehaus.plexus.webdav.DavServerComponent; import org.codehaus.plexus.webdav.DavServerException; +import org.codehaus.plexus.webdav.DavServerListener; import org.codehaus.plexus.webdav.servlet.DavServerRequest; import org.codehaus.plexus.webdav.util.WebdavMethodUtil; @@ -437,13 +438,38 @@ public class ProxiedDavServer } } + @Override + public void addListener( DavServerListener listener ) + { + super.addListener( listener ); + davServer.addListener( listener ); + } + + @Override + public boolean isUseIndexHtml() + { + return davServer.isUseIndexHtml(); + } + + @Override + public boolean hasResource( String resource ) + { + return davServer.hasResource( resource ); + } + + @Override + public void removeListener( DavServerListener listener ) + { + davServer.removeListener( listener ); + } + @Override public void setUseIndexHtml( boolean useIndexHtml ) { super.setUseIndexHtml( useIndexHtml ); davServer.setUseIndexHtml( useIndexHtml ); } - + public ManagedRepositoryContent getRepository() { return managedRepository; -- 2.39.5