public class InMemoryServiceFactoryImpl extends AbstractServiceFactory
| Constructor and Description |
|---|
InMemoryServiceFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Cleans up the the factory instance.
|
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.
|
CmisService |
getService(CallContext context)
Returns a
CmisService object for the given CallContext. |
StoreManager |
getStoreManger() |
File |
getTempDirectory()
Returns the Java temp directory.
|
void |
init(Map<String,String> parameters)
Initializes the factory instance.
|
static void |
setOverrideCallContext(CallContext ctx) |
public void init(Map<String,String> parameters)
CmisServiceFactoryinit in interface CmisServiceFactoryinit in class AbstractServiceFactorypublic static void setOverrideCallContext(CallContext ctx)
public CmisService getService(CallContext context)
CmisServiceFactoryCmisService object for the given CallContext.
When the CmisService object is not longer needed
CmisService.close() will be called.getService in interface CmisServiceFactorygetService in class AbstractServiceFactorypublic File getTempDirectory()
AbstractServiceFactorygetTempDirectory in interface CmisServiceFactorygetTempDirectory in class AbstractServiceFactorypublic boolean encryptTempFiles()
AbstractServiceFactoryfalse, do not encrypt temporary files.encryptTempFiles in interface CmisServiceFactoryencryptTempFiles in class AbstractServiceFactorytrue if temporary files should be encrypted,
false otherwiseCmisServiceFactory.getTempDirectory()public int getMemoryThreshold()
AbstractServiceFactorygetMemoryThreshold in interface CmisServiceFactorygetMemoryThreshold in class AbstractServiceFactoryCmisServiceFactory.getTempDirectory()public long getMaxContentSize()
AbstractServiceFactorygetMaxContentSize in interface CmisServiceFactorygetMaxContentSize in class AbstractServiceFactorypublic void destroy()
CmisServiceFactorydestroy in interface CmisServiceFactorydestroy in class AbstractServiceFactorypublic StoreManager getStoreManger()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.