public abstract class AbstractService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CALL_CONTEXT_MAP |
Constructor and Description |
---|
AbstractService() |
Modifier and Type | Method and Description |
---|---|
protected void |
closeService(CmisService service)
Closes the service instance.
|
protected CmisException |
convertException(Exception ex)
Converts a CMIS exception to the appropriate Web Service exception.
|
protected CallContext |
createContext(WebServiceContext wsContext,
CmisServiceFactory factory,
String repositoryId)
Creates a CallContext object for the Web Service context.
|
protected CmisVersion |
getCmisVersion(WebServiceContext wsContext)
Returns the CMIS version.
|
protected CmisService |
getService(WebServiceContext wsContext,
String repositoryId)
Returns the
CmisService object. |
protected CmisServiceFactory |
getServiceFactory(WebServiceContext wsContext)
Returns the services factory.
|
protected boolean |
stopAfterService(CmisService service)
Determines if the processing should be stopped after the service method
is called.
|
protected boolean |
stopBeforeService(CmisService service)
Determines if the processing should be stopped before the service method
is called.
|
public static final String CALL_CONTEXT_MAP
protected CmisServiceFactory getServiceFactory(WebServiceContext wsContext)
protected CallContext createContext(WebServiceContext wsContext, CmisServiceFactory factory, String repositoryId)
protected CmisVersion getCmisVersion(WebServiceContext wsContext)
protected CmisService getService(WebServiceContext wsContext, String repositoryId)
CmisService
object.protected boolean stopBeforeService(CmisService service)
true
if the processing should be stopped, false
otherwiseprotected boolean stopAfterService(CmisService service)
true
if the processing should be stopped, false
otherwiseprotected void closeService(CmisService service)
protected CmisException convertException(Exception ex)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.