Class WebDAVApplication
- java.lang.Object
-
- javax.ws.rs.core.Application
-
- org.exoplatform.services.jcr.webdav.WebDAVApplication
-
public final class WebDAVApplication extends javax.ws.rs.core.ApplicationCommon configuration mechanism for WebDAV application. From JAX-RS specification, section 2.1
The resources and providers that make up a JAX-RS application are configured via an application-supplied subclass of Application. An implementation MAY provide alternate mechanisms for locating resource classes and providers (e.g. runtime class scanning) but use of Application is the only portable means of configuration.
- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
-
Constructor Summary
Constructors Constructor Description WebDAVApplication()This constructor will be used by third part RESTful frameworks that not use exo container directly.WebDAVApplication(WebDavService webdavService)This constructor will be used by exo container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Class<?>>getClasses()protected StringgetPortalContainerName()Override this if you need other container name.Set<Object>getSingletons()
-
-
-
Constructor Detail
-
WebDAVApplication
public WebDAVApplication()
This constructor will be used by third part RESTful frameworks that not use exo container directly.- See Also:
getPortalContainerName()
-
WebDAVApplication
public WebDAVApplication(WebDavService webdavService)
This constructor will be used by exo container.- Parameters:
webdavService- WebDavService
-
-
Method Detail
-
getClasses
public Set<Class<?>> getClasses()
- Overrides:
getClassesin classjavax.ws.rs.core.Application
-
getSingletons
public Set<Object> getSingletons()
- Overrides:
getSingletonsin classjavax.ws.rs.core.Application
-
getPortalContainerName
protected String getPortalContainerName()
Override this if you need other container name. This method should be used to set container name when this class is not component of exo container.- Returns:
- portal container name
-
-