Package org.silverpeas.cmis
Class SilverpeasCmisServiceFactory
- java.lang.Object
-
- org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
- org.silverpeas.cmis.SilverpeasCmisServiceFactory
-
- All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
public class SilverpeasCmisServiceFactory extends org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
Factory to produce and return a CMIS service instance for Silverpeas. It checks the user requesting a CMIS service is authenticated.This factory is used by the OpenCMIS framework to obtain an implementation of
CmisService
interface that is specific to Silverpeas.- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description SilverpeasCmisServiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.chemistry.opencmis.commons.server.CmisService
getService(org.apache.chemistry.opencmis.commons.server.CallContext callContext)
void
init(Map<String,String> parameters)
-
-
-
Method Detail
-
init
public void init(Map<String,String> parameters)
- Specified by:
init
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory
- Overrides:
init
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
getService
public org.apache.chemistry.opencmis.commons.server.CmisService getService(org.apache.chemistry.opencmis.commons.server.CallContext callContext)
- Specified by:
getService
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory
- Specified by:
getService
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
-