Class JcrCmisRegistry

  • All Implemented Interfaces:
    org.picocontainer.Startable, org.xcmis.spi.CmisRegistryFactory
    Direct Known Subclasses:
    DriveCmisRegistry

    public class JcrCmisRegistry
    extends org.xcmis.spi.CmisRegistry
    implements org.picocontainer.Startable, org.xcmis.spi.CmisRegistryFactory
    • Field Detail

      • rootIndexDir

        protected String rootIndexDir
      • initParams

        protected final org.exoplatform.container.xml.InitParams initParams
    • Constructor Detail

      • JcrCmisRegistry

        public JcrCmisRegistry​(org.exoplatform.services.jcr.RepositoryService repositoryService,
                               org.exoplatform.container.xml.InitParams initParams)
    • Method Detail

      • addStorage

        public void addStorage​(org.xcmis.spi.StorageProvider storageProvider)
        Overrides:
        addStorage in class org.xcmis.spi.CmisRegistry
        See Also:
        CmisRegistry.addStorage(org.xcmis.spi.StorageProvider)
      • getStorageProviders

        public Map<String,​org.xcmis.spi.StorageProvider> getStorageProviders()
        Returns:
        the storageProviders
      • getAffectedWorkspaceNames

        public String[] getAffectedWorkspaceNames()
                                           throws javax.jcr.RepositoryException
        Returns:
        list of workspace
        Throws:
        javax.jcr.RepositoryException
      • getSearchService

        public org.xcmis.search.SearchService getSearchService​(String jcrRepositoryName,
                                                               String jcrWorkspaceName)
      • start

        public void start()
        Specified by:
        start in interface org.picocontainer.Startable
      • stop

        public void stop()
        Specified by:
        stop in interface org.picocontainer.Startable
      • getValueParameter

        protected String getValueParameter​(String name,
                                           String defaultValue)
      • getRegistry

        public org.xcmis.spi.CmisRegistry getRegistry()
        Specified by:
        getRegistry in interface org.xcmis.spi.CmisRegistryFactory