Class NuxeoCmisServiceFactory
java.lang.Object
org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactory
- All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
public class NuxeoCmisServiceFactory
extends org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
Factory for a wrapped
NuxeoCmisService.
Called for each method dispatch by CmisAtomPubServlet or
org.apache.chemistry.opencmis.server.impl.atompub.CmisBrowserBindingServlet.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intprotected BigIntegerprotected BigIntegerprotected BigIntegerprotected BigIntegerprotected booleanprotected longprotected longstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Fileprotected org.apache.chemistry.opencmis.server.support.wrapper.CmisServiceWrapperManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected static BigIntegergetBigIntegerParameter(Map<String, String> parameters, String key, int def) protected static longgetLongParameter(Map<String, String> parameters, String key, long def) longintorg.apache.chemistry.opencmis.commons.server.CmisServicegetService(org.apache.chemistry.opencmis.commons.server.CallContext context) voidprotected voidinitParameters(Map<String, String> parameters) Methods inherited from class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
destroy, getTempFileOutputStream
-
Field Details
-
PROP_TEMP_DIRECTORY
- See Also:
-
PROP_ENCRYPT_TEMP_FILES
- See Also:
-
PROP_MEMORY_THERESHOLD
- See Also:
-
PROP_MAX_CONTENT_SIZE
- See Also:
-
PROP_DEFAULT_TYPES_MAX_ITEMS
- See Also:
-
PROP_DEFAULT_TYPES_DEPTH
- See Also:
-
PROP_DEFAULT_MAX_ITEMS
- See Also:
-
PROP_DEFAULT_DEPTH
- See Also:
-
DEFAULT_TYPES_MAX_ITEMS
public static final int DEFAULT_TYPES_MAX_ITEMS- See Also:
-
DEFAULT_TYPES_DEPTH
public static final int DEFAULT_TYPES_DEPTH- See Also:
-
DEFAULT_MAX_ITEMS
public static final int DEFAULT_MAX_ITEMS- See Also:
-
DEFAULT_DEPTH
public static final int DEFAULT_DEPTH- See Also:
-
wrapperManager
protected org.apache.chemistry.opencmis.server.support.wrapper.CmisServiceWrapperManager wrapperManager -
defaultTypesMaxItems
-
defaultTypesDepth
-
defaultMaxItems
-
defaultDepth
-
tempDirectory
-
encryptTempFiles
protected boolean encryptTempFiles -
memoryThreshold
protected long memoryThreshold -
maxContentSize
protected long maxContentSize
-
-
Constructor Details
-
NuxeoCmisServiceFactory
public NuxeoCmisServiceFactory()
-
-
Method Details
-
init
- Specified by:
initin interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory- Overrides:
initin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
initParameters
-
getLongParameter
-
getBigIntegerParameter
protected static BigInteger getBigIntegerParameter(Map<String, String> parameters, String key, int def) -
getService
public org.apache.chemistry.opencmis.commons.server.CmisService getService(org.apache.chemistry.opencmis.commons.server.CallContext context) - Specified by:
getServicein interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory- Specified by:
getServicein classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
getTempDirectory
- Specified by:
getTempDirectoryin interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory- Overrides:
getTempDirectoryin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
encryptTempFiles
public boolean encryptTempFiles()- Specified by:
encryptTempFilesin interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory- Overrides:
encryptTempFilesin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
getMemoryThreshold
public int getMemoryThreshold()- Specified by:
getMemoryThresholdin interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory- Overrides:
getMemoryThresholdin classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
getMaxContentSize
public long getMaxContentSize()- Specified by:
getMaxContentSizein interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory- Overrides:
getMaxContentSizein classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-