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.Application
Common 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
ConstructorsConstructorDescriptionThis 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
Modifier and TypeMethodDescriptionprotected StringOverride this if you need other container name.
-
Constructor Details
-
WebDAVApplication
public WebDAVApplication()This constructor will be used by third part RESTful frameworks that not use exo container directly.- See Also:
-
WebDAVApplication
This constructor will be used by exo container.- Parameters:
webdavService- WebDavService
-
-
Method Details
-
getClasses
- Overrides:
getClassesin classjavax.ws.rs.core.Application
-
getSingletons
- Overrides:
getSingletonsin classjavax.ws.rs.core.Application
-
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
-