Package org.exoplatform.ecms.xcmis.sp
Class JcrCmisRegistry
- java.lang.Object
-
- org.xcmis.spi.CmisRegistry
-
- org.exoplatform.ecms.xcmis.sp.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 Summary
Fields Modifier and Type Field Description protected org.exoplatform.container.xml.InitParamsinitParamsprotected StringrootIndexDir
-
Constructor Summary
Constructors Constructor Description JcrCmisRegistry(org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.container.xml.InitParams initParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStorage(org.xcmis.spi.StorageProvider storageProvider)String[]getAffectedWorkspaceNames()org.xcmis.spi.CmisRegistrygetRegistry()org.xcmis.search.SearchServicegetSearchService(String jcrRepositoryName, String jcrWorkspaceName)Map<String,org.xcmis.spi.StorageProvider>getStorageProviders()protected StringgetValueParameter(String name, String defaultValue)voidstart()voidstop()
-
-
-
Field Detail
-
rootIndexDir
protected String rootIndexDir
-
initParams
protected final org.exoplatform.container.xml.InitParams initParams
-
-
Method Detail
-
addStorage
public void addStorage(org.xcmis.spi.StorageProvider storageProvider)
- Overrides:
addStoragein classorg.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:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()
- Specified by:
stopin interfaceorg.picocontainer.Startable
-
getRegistry
public org.xcmis.spi.CmisRegistry getRegistry()
- Specified by:
getRegistryin interfaceorg.xcmis.spi.CmisRegistryFactory
-
-