public abstract class AbstractAsyncServiceFactory extends org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory implements AsyncCmisServiceFactory
AsyncCmisServiceFactory implementation that sets up one simple
ThreadPoolExecutor for executing asynchronous all CMIS requests.| Constructor and Description |
|---|
AbstractAsyncServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
AsyncCmisExecutor |
getAsyncCmisExecutor(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns an
AsyncCmisExecutor instance that handles the
asynchronous execution of this request. |
void |
init(Map<String,String> parameters) |
encryptTempFiles, getMaxContentSize, getMemoryThreshold, getService, getTempDirectory, getTempFileOutputStreampublic void init(Map<String,String> parameters)
init in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactoryinit in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactorypublic void destroy()
destroy in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactorydestroy in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactorypublic AsyncCmisExecutor getAsyncCmisExecutor(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
AsyncCmisServiceFactoryAsyncCmisExecutor instance that handles the
asynchronous execution of this request.
If this method returns null the request is executed
synchronously.getAsyncCmisExecutor in interface AsyncCmisServiceFactoryrequest - the request objectresponse - the response objectAsyncCmisExecutor instance or nullCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.