Class 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.

    • Constructor Detail

      • NuxeoCmisServiceFactory

        public NuxeoCmisServiceFactory()
    • Method Detail

      • init

        public void init​(Map<String,​String> parameters)
        Specified by:
        init in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
        Overrides:
        init in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
      • initParameters

        protected void initParameters​(Map<String,​String> parameters)
      • getLongParameter

        protected static long getLongParameter​(Map<String,​String> parameters,
                                               String key,
                                               long def)
      • getService

        public org.apache.chemistry.opencmis.commons.server.CmisService getService​(org.apache.chemistry.opencmis.commons.server.CallContext context)
        Specified by:
        getService in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
        Specified by:
        getService in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
      • getTempDirectory

        public File getTempDirectory()
        Specified by:
        getTempDirectory in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
        Overrides:
        getTempDirectory in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
      • encryptTempFiles

        public boolean encryptTempFiles()
        Specified by:
        encryptTempFiles in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
        Overrides:
        encryptTempFiles in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
      • getMemoryThreshold

        public int getMemoryThreshold()
        Specified by:
        getMemoryThreshold in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
        Overrides:
        getMemoryThreshold in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
      • getMaxContentSize

        public long getMaxContentSize()
        Specified by:
        getMaxContentSize in interface org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
        Overrides:
        getMaxContentSize in class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory