|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
it.could.webdav.replication.DAVReplicator
The DAVReplicator
class is a DAVListener
replicating
all content to the WebDAV repository specified at construction.
Constructor Summary | |
DAVReplicator()
Create a new DAVServlet instance. |
Method Summary | |
void |
destroy()
Destroy DAVServlet instance interrupting all running
DAVReplica instances. |
void |
init(ServletConfig config)
Initialize this Servlet instance. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DAVReplicator()
Create a new DAVServlet
instance.
Method Detail |
public void init(ServletConfig config) throws ServletException
Initialize this Servlet
instance.
This servlet requires a couple of initialization parameters: the
first one is "repository
" indicating the name of
the DAVServlet
in the "web.xml
" deployment
descriptor whose repository should be replicated.
The second required parameter "replicas
"
must contain a (whitespace separated list of) URL(s) where the original
repository should be replicated to.
Finally, when set to true
, the optional parameter
debugEnabled
will enable logging of method invocation and
events in the repository.
ServletException
public void destroy()
Destroy DAVServlet
instance interrupting all running
DAVReplica
instances.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |