Package com.logicaldoc.webdav.resource
Class DavResourceFactoryImpl
- java.lang.Object
-
- com.logicaldoc.webdav.resource.DavResourceFactoryImpl
-
- All Implemented Interfaces:
DavResourceFactory
public class DavResourceFactoryImpl extends Object implements DavResourceFactory
For more informations, please visitResourceFactoryImpl
- Author:
- Sebastian Wenzky
-
-
Constructor Summary
Constructors Constructor Description DavResourceFactoryImpl(org.apache.jackrabbit.webdav.lock.LockManager lockMgr)
DavResourceFactoryImpl(org.apache.jackrabbit.webdav.lock.LockManager lockMgr, ResourceConfig resourceConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.webdav.DavResource
createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, DavSession session)
org.apache.jackrabbit.webdav.DavResource
createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, DavSession session, Resource resource)
org.apache.jackrabbit.webdav.DavResource
createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, org.apache.jackrabbit.webdav.DavServletRequest request)
org.apache.jackrabbit.webdav.DavResource
createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, org.apache.jackrabbit.webdav.DavServletRequest request, DavSession session)
void
putInCache(DavSession session, org.apache.jackrabbit.webdav.DavResource resource)
Puts an entry in the cache
-
-
-
Constructor Detail
-
DavResourceFactoryImpl
public DavResourceFactoryImpl(org.apache.jackrabbit.webdav.lock.LockManager lockMgr)
-
DavResourceFactoryImpl
public DavResourceFactoryImpl(org.apache.jackrabbit.webdav.lock.LockManager lockMgr, ResourceConfig resourceConfig)
-
-
Method Detail
-
createResource
public org.apache.jackrabbit.webdav.DavResource createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, org.apache.jackrabbit.webdav.DavServletRequest request) throws org.apache.jackrabbit.webdav.DavException
- Specified by:
createResource
in interfaceDavResourceFactory
- Throws:
org.apache.jackrabbit.webdav.DavException
-
createResource
public org.apache.jackrabbit.webdav.DavResource createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, org.apache.jackrabbit.webdav.DavServletRequest request, DavSession session) throws org.apache.jackrabbit.webdav.DavException
- Specified by:
createResource
in interfaceDavResourceFactory
- Throws:
org.apache.jackrabbit.webdav.DavException
-
createResource
public org.apache.jackrabbit.webdav.DavResource createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, DavSession session) throws org.apache.jackrabbit.webdav.DavException
- Specified by:
createResource
in interfaceDavResourceFactory
- Throws:
org.apache.jackrabbit.webdav.DavException
-
putInCache
public void putInCache(DavSession session, org.apache.jackrabbit.webdav.DavResource resource)
Puts an entry in the cache- Specified by:
putInCache
in interfaceDavResourceFactory
- Parameters:
session
- The curent DAV sessionresource
- The entry to be cached
-
createResource
public org.apache.jackrabbit.webdav.DavResource createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, DavSession session, Resource resource) throws org.apache.jackrabbit.webdav.DavException
- Throws:
org.apache.jackrabbit.webdav.DavException
-
-