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.AbstractServiceFactoryFactory 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
CmisServiceinterface 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.CmisServicegetService(org.apache.chemistry.opencmis.commons.server.CallContext callContext)voidinit(Map<String,String> parameters)
-
-
-
Method Detail
-
init
public void init(Map<String,String> parameters)
- Specified by:
initin interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory- Overrides:
initin 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:
getServicein interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory- Specified by:
getServicein classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
-