public class NuxeoCmisServiceFactory extends org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
NuxeoCmisService
.
Called for each method dispatch by CmisAtomPubServlet
or
org.apache.chemistry.opencmis.server.impl.atompub.CmisBrowserBindingServlet
or
AbstractService
.
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DEPTH |
static int |
DEFAULT_MAX_ITEMS |
static int |
DEFAULT_TYPES_DEPTH |
static int |
DEFAULT_TYPES_MAX_ITEMS |
protected BigInteger |
defaultDepth |
protected BigInteger |
defaultMaxItems |
protected BigInteger |
defaultTypesDepth |
protected BigInteger |
defaultTypesMaxItems |
protected boolean |
encryptTempFiles |
protected long |
maxContentSize |
protected long |
memoryThreshold |
static String |
PROP_DEFAULT_DEPTH |
static String |
PROP_DEFAULT_MAX_ITEMS |
static String |
PROP_DEFAULT_TYPES_DEPTH |
static String |
PROP_DEFAULT_TYPES_MAX_ITEMS |
static String |
PROP_ENCRYPT_TEMP_FILES |
static String |
PROP_MAX_CONTENT_SIZE |
static String |
PROP_MEMORY_THERESHOLD |
static String |
PROP_TEMP_DIRECTORY |
protected File |
tempDirectory |
protected org.apache.chemistry.opencmis.server.support.wrapper.CmisServiceWrapperManager |
wrapperManager |
Constructor and Description |
---|
NuxeoCmisServiceFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
encryptTempFiles() |
protected static BigInteger |
getBigIntegerParameter(Map<String,String> parameters,
String key,
int def) |
protected static long |
getLongParameter(Map<String,String> parameters,
String key,
long def) |
long |
getMaxContentSize() |
int |
getMemoryThreshold() |
org.apache.chemistry.opencmis.commons.server.CmisService |
getService(org.apache.chemistry.opencmis.commons.server.CallContext context) |
File |
getTempDirectory() |
void |
init(Map<String,String> parameters) |
protected void |
initParameters(Map<String,String> parameters) |
public static final String PROP_TEMP_DIRECTORY
public static final String PROP_ENCRYPT_TEMP_FILES
public static final String PROP_MEMORY_THERESHOLD
public static final String PROP_MAX_CONTENT_SIZE
public static final String PROP_DEFAULT_TYPES_MAX_ITEMS
public static final String PROP_DEFAULT_TYPES_DEPTH
public static final String PROP_DEFAULT_MAX_ITEMS
public static final String PROP_DEFAULT_DEPTH
public static final int DEFAULT_TYPES_MAX_ITEMS
public static final int DEFAULT_TYPES_DEPTH
public static final int DEFAULT_MAX_ITEMS
public static final int DEFAULT_DEPTH
protected org.apache.chemistry.opencmis.server.support.wrapper.CmisServiceWrapperManager wrapperManager
protected BigInteger defaultTypesMaxItems
protected BigInteger defaultTypesDepth
protected BigInteger defaultMaxItems
protected BigInteger defaultDepth
protected File tempDirectory
protected boolean encryptTempFiles
protected long memoryThreshold
protected long maxContentSize
public NuxeoCmisServiceFactory()
public void init(Map<String,String> parameters)
init
in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
init
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
protected void initParameters(Map<String,String> parameters)
protected static long getLongParameter(Map<String,String> parameters, String key, long def)
protected static BigInteger getBigIntegerParameter(Map<String,String> parameters, String key, int def)
public org.apache.chemistry.opencmis.commons.server.CmisService getService(org.apache.chemistry.opencmis.commons.server.CallContext context)
getService
in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
getService
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
public File getTempDirectory()
getTempDirectory
in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
getTempDirectory
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
public boolean encryptTempFiles()
encryptTempFiles
in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
encryptTempFiles
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
public int getMemoryThreshold()
getMemoryThreshold
in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
getMemoryThreshold
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
public long getMaxContentSize()
getMaxContentSize
in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
getMaxContentSize
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
Copyright © 2015 Nuxeo SA. All rights reserved.