[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
This commit is contained in:
Joakim Erdfelt 2007-10-24 15:38:38 +00:00
parent 6ab9c44b0c
commit 06539ad3be
1 changed files with 27 additions and 1 deletions

View File

@ -40,6 +40,7 @@ import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
import org.codehaus.plexus.webdav.AbstractDavServerComponent; import org.codehaus.plexus.webdav.AbstractDavServerComponent;
import org.codehaus.plexus.webdav.DavServerComponent; import org.codehaus.plexus.webdav.DavServerComponent;
import org.codehaus.plexus.webdav.DavServerException; import org.codehaus.plexus.webdav.DavServerException;
import org.codehaus.plexus.webdav.DavServerListener;
import org.codehaus.plexus.webdav.servlet.DavServerRequest; import org.codehaus.plexus.webdav.servlet.DavServerRequest;
import org.codehaus.plexus.webdav.util.WebdavMethodUtil; import org.codehaus.plexus.webdav.util.WebdavMethodUtil;
@ -437,6 +438,31 @@ 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 @Override
public void setUseIndexHtml( boolean useIndexHtml ) public void setUseIndexHtml( boolean useIndexHtml )
{ {