public interface CmisServiceFactory
CmisService
objects.Modifier and Type | Method and Description |
---|---|
void |
destroy()
Cleans up the the factory instance.
|
boolean |
encryptTempFiles()
Indicates if temporary files should be encrypted.
|
long |
getMaxContentSize()
Returns the maximal content size in bytes.
|
int |
getMemoryThreshold()
Returns up to which size content should be kept in memory.
|
CmisService |
getService(CallContext context)
Returns a
CmisService object for the given CallContext . |
File |
getTempDirectory()
Returns the absolute path of the directory that should be used for
temporary files.
|
void |
init(Map<String,String> parameters)
Initializes the factory instance.
|
void destroy()
CmisService getService(CallContext context)
CmisService
object for the given CallContext
.
When the CmisService
object is not longer needed
CmisService.close()
will be called.File getTempDirectory()
boolean encryptTempFiles()
true
if temporary files should be encrypted,
false
otherwisegetTempDirectory()
int getMemoryThreshold()
getTempDirectory()
long getMaxContentSize()
CmisConstraintException
is thrown.Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.