public class DummyServicesFactory extends AbstractServiceFactory
Constructor and Description |
---|
DummyServicesFactory() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Cleans up the the factory instance.
|
CmisService |
getService(CallContext context)
Returns a
CmisService object for the given CallContext . |
void |
init(Map<String,String> parameters)
Initializes the factory instance.
|
encryptTempFiles, getMaxContentSize, getMemoryThreshold, getTempDirectory
public void init(Map<String,String> parameters)
CmisServiceFactory
init
in interface CmisServiceFactory
init
in class AbstractServiceFactory
public void destroy()
CmisServiceFactory
destroy
in interface CmisServiceFactory
destroy
in class AbstractServiceFactory
public CmisService getService(CallContext context)
CmisServiceFactory
CmisService
object for the given CallContext
.
When the CmisService
object is not longer needed
CmisService.close()
will be called.getService
in interface CmisServiceFactory
getService
in class AbstractServiceFactory
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.