public abstract class AbstractBridgeServiceFactory extends AbstractServiceFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
BRIDGE_MAX_CONTENT_SIZE |
static String |
BRIDGE_MEMORY_THERESHOLD |
static String |
BRIDGE_TEMP_DIRECTORY |
static String |
SERVICE_CLASS |
static String |
SERVICE_DEFAULT_DEPTH_OBJECTS |
static String |
SERVICE_DEFAULT_DEPTH_TYPES |
static String |
SERVICE_DEFAULT_MAX_ITEMS_OBJECTS |
static String |
SERVICE_DEFAULT_MAX_ITEMS_TYPES |
| Constructor and Description |
|---|
AbstractBridgeServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract FilterCmisService |
createService(CallContext context)
Creates a new service instance.
|
protected BigInteger |
getBigIntegerParameter(String key,
BigInteger def)
Gets a BigInteger parameter from the parameters.
|
long |
getMaxContentSize()
Returns a max size of 4 GiB.
|
int |
getMemoryThreshold()
Returns a threshold of 4 MiB.
|
protected Map<String,String> |
getParameters() |
CmisService |
getService(CallContext context)
Returns a
CmisService object for the given CallContext. |
protected Class<?> |
getServiceClass() |
File |
getTempDirectory()
Returns the Java temp directory.
|
void |
init(Map<String,String> parameters)
Initializes the factory instance.
|
destroy, encryptTempFiles, getTempFileOutputStreampublic static final String BRIDGE_TEMP_DIRECTORY
public static final String BRIDGE_MEMORY_THERESHOLD
public static final String BRIDGE_MAX_CONTENT_SIZE
public static final String SERVICE_CLASS
public static final String SERVICE_DEFAULT_MAX_ITEMS_OBJECTS
public static final String SERVICE_DEFAULT_DEPTH_OBJECTS
public static final String SERVICE_DEFAULT_MAX_ITEMS_TYPES
public static final String SERVICE_DEFAULT_DEPTH_TYPES
public void init(Map<String,String> parameters)
CmisServiceFactoryinit in interface CmisServiceFactoryinit in class AbstractServiceFactorypublic 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 AbstractServiceFactorycontext - the call contextCmisService instance, never nullprotected abstract FilterCmisService createService(CallContext context)
protected Class<?> getServiceClass()
public File getTempDirectory()
AbstractServiceFactorygetTempDirectory in interface CmisServiceFactorygetTempDirectory in class AbstractServiceFactorypublic int getMemoryThreshold()
AbstractServiceFactorygetMemoryThreshold in interface CmisServiceFactorygetMemoryThreshold in class AbstractServiceFactoryCmisServiceFactory.getTempDirectory()public long getMaxContentSize()
AbstractServiceFactorygetMaxContentSize in interface CmisServiceFactorygetMaxContentSize in class AbstractServiceFactoryprotected BigInteger getBigIntegerParameter(String key, BigInteger def)
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.