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() |
int |
getMemoryThreshold() |
protected Map<String,String> |
getParameters() |
CmisService |
getService(CallContext context) |
protected Class<?> |
getServiceClass() |
File |
getTempDirectory() |
void |
init(Map<String,String> parameters) |
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)
init in interface CmisServiceFactoryinit in class AbstractServiceFactorypublic CmisService getService(CallContext context)
getService in interface CmisServiceFactorygetService in class AbstractServiceFactoryprotected abstract FilterCmisService createService(CallContext context)
protected Class<?> getServiceClass()
public File getTempDirectory()
getTempDirectory in interface CmisServiceFactorygetTempDirectory in class AbstractServiceFactorypublic int getMemoryThreshold()
getMemoryThreshold in interface CmisServiceFactorygetMemoryThreshold in class AbstractServiceFactorypublic long getMaxContentSize()
getMaxContentSize in interface CmisServiceFactorygetMaxContentSize in class AbstractServiceFactoryprotected BigInteger getBigIntegerParameter(String key, BigInteger def)
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.