public abstract class AbstractServiceFactory extends Object implements CmisServiceFactory
| Constructor and Description |
|---|
AbstractServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
encryptTempFiles()
Returns
false, do not encrypt temporary files. |
long |
getMaxContentSize()
Returns a max size of 4 GiB.
|
int |
getMemoryThreshold()
Returns a threshold of 4 MiB.
|
abstract CmisService |
getService(CallContext context) |
File |
getTempDirectory()
Returns the Java temp directory.
|
TempStoreOutputStream |
getTempFileOutputStream(String repositoryId)
Returns
null to indicate that the default, temp files based
implementation should be used. |
void |
init(Map<String,String> parameters) |
public void init(Map<String,String> parameters)
init in interface CmisServiceFactorypublic void destroy()
destroy in interface CmisServiceFactorypublic abstract CmisService getService(CallContext context)
getService in interface CmisServiceFactorypublic File getTempDirectory()
getTempDirectory in interface CmisServiceFactorypublic boolean encryptTempFiles()
false, do not encrypt temporary files.encryptTempFiles in interface CmisServiceFactorypublic int getMemoryThreshold()
getMemoryThreshold in interface CmisServiceFactorypublic long getMaxContentSize()
getMaxContentSize in interface CmisServiceFactorypublic TempStoreOutputStream getTempFileOutputStream(String repositoryId)
null to indicate that the default, temp files based
implementation should be used.getTempFileOutputStream in interface CmisServiceFactoryCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.