eXo JCR :: Component :: Webdav Service 1.15.4-GA

org.exoplatform.services.jcr.webdav
Class WebDAVApplication

java.lang.Object
  extended by javax.ws.rs.core.Application
      extended by 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
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
 Set<Class<?>> getClasses()
          
protected  String getPortalContainerName()
          Override this if you need other container name.
 Set<Object> getSingletons()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

Specified by:
getClasses in class javax.ws.rs.core.Application

getSingletons

public Set<Object> getSingletons()

Overrides:
getSingletons in class javax.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

eXo JCR :: Component :: Webdav Service 1.15.4-GA

Copyright © 2013 eXo Platform SAS. All Rights Reserved.