public abstract class AbstractServiceFactory extends Object implements CmisServiceFactory
| Constructor and Description |
|---|
AbstractServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Cleans up the the factory instance.
|
long |
getMaxContentSize()
Returns a max size of 4 GiB.
|
int |
getMemoryThreshold()
Returns a threshold of 4 MiB.
|
abstract CmisService |
getService(CallContext context)
Returns a
CmisService object for the given CallContext. |
File |
getTempDirectory()
Returns the Java temp directory.
|
void |
init(Map<String,String> parameters)
Initializes the factory instance.
|
public void init(Map<String,String> parameters)
CmisServiceFactoryinit in interface CmisServiceFactorypublic void destroy()
CmisServiceFactorydestroy in interface CmisServiceFactorypublic abstract 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 CmisServiceFactorypublic File getTempDirectory()
getTempDirectory in interface CmisServiceFactorypublic int getMemoryThreshold()
getMemoryThreshold in interface CmisServiceFactoryCmisServiceFactory.getTempDirectory()public long getMaxContentSize()
getMaxContentSize in interface CmisServiceFactoryCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.