archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joak...@apache.org
Subject svn commit: r587908 - /maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
Date Wed, 24 Oct 2007 15:38:39 GMT
Author: joakime
Date: Wed Oct 24 08:38:38 2007
New Revision: 587908

URL: http://svn.apache.org/viewvc?rev=587908&view=rev
Log:
[MRM-564] Audit log is not populated when artifacts are deployed
Passing through listener to actual davserver impl.

Modified:
    maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java

Modified: maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java?rev=587908&r1=587907&r2=587908&view=diff
==============================================================================
--- maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
(original)
+++ maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
Wed Oct 24 08:38:38 2007
@@ -40,6 +40,7 @@
 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;
 
@@ -438,12 +439,37 @@
     }
     
     @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;



Mime
View raw message