org.apache.chemistry.opencmis.server.impl.webservices
Class AbstractService

java.lang.Object
  extended by org.apache.chemistry.opencmis.server.impl.webservices.AbstractService
Direct Known Subclasses:
AclService, DiscoveryService, MultiFilingService, NavigationService, ObjectService, PolicyService, RelationshipService, RepositoryService, VersioningService

public abstract class AbstractService
extends java.lang.Object

This class contains operations used by all services.


Field Summary
static java.lang.String CALL_CONTEXT_MAP
           
 
Constructor Summary
AbstractService()
           
 
Method Summary
protected  void closeService(org.apache.chemistry.opencmis.commons.server.CmisService service)
          Closes the service instance.
protected  org.apache.chemistry.opencmis.commons.impl.jaxb.CmisException convertException(java.lang.Exception ex)
          Converts a CMIS exception to the appropriate Web Service exception.
protected  org.apache.chemistry.opencmis.commons.server.CallContext createContext(javax.xml.ws.WebServiceContext wsContext, java.lang.String repositoryId)
          Creates a CallContext object for the Web Service context.
protected  org.apache.chemistry.opencmis.commons.server.CmisService getService(javax.xml.ws.WebServiceContext wsContext, java.lang.String repositoryId)
          Returns the CmisService object.
protected  org.apache.chemistry.opencmis.commons.server.CmisServiceFactory getServiceFactory(javax.xml.ws.WebServiceContext wsContext)
          Returns the services factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALL_CONTEXT_MAP

public static final java.lang.String CALL_CONTEXT_MAP
See Also:
Constant Field Values
Constructor Detail

AbstractService

public AbstractService()
Method Detail

getServiceFactory

protected org.apache.chemistry.opencmis.commons.server.CmisServiceFactory getServiceFactory(javax.xml.ws.WebServiceContext wsContext)
Returns the services factory.


createContext

protected org.apache.chemistry.opencmis.commons.server.CallContext createContext(javax.xml.ws.WebServiceContext wsContext,
                                                                                 java.lang.String repositoryId)
Creates a CallContext object for the Web Service context.


getService

protected org.apache.chemistry.opencmis.commons.server.CmisService getService(javax.xml.ws.WebServiceContext wsContext,
                                                                              java.lang.String repositoryId)
Returns the CmisService object.


closeService

protected void closeService(org.apache.chemistry.opencmis.commons.server.CmisService service)
Closes the service instance.


convertException

protected org.apache.chemistry.opencmis.commons.impl.jaxb.CmisException convertException(java.lang.Exception ex)
Converts a CMIS exception to the appropriate Web Service exception.



Copyright © 2012 Mairie de Paris. All Rights Reserved.