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 |
protected org.exoplatform.container.xml.InitParams |
initParams
|
protected java.lang.String |
rootIndexDir
|
| Fields inherited from class org.xcmis.spi.CmisRegistry |
renditionProviders, storageProviders |
|
Constructor Summary |
JcrCmisRegistry(org.exoplatform.services.jcr.impl.RepositoryServiceImpl repositoryService,
org.exoplatform.services.document.DocumentReaderService documentReaderService,
org.exoplatform.container.xml.InitParams initParams)
|
| Methods inherited from class org.xcmis.spi.CmisRegistry |
addRenditionProvider, getConnection, getInstance, getStorageInfos, setFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rootIndexDir
protected java.lang.String rootIndexDir
initParams
protected final org.exoplatform.container.xml.InitParams initParams
JcrCmisRegistry
public JcrCmisRegistry(org.exoplatform.services.jcr.impl.RepositoryServiceImpl repositoryService,
org.exoplatform.services.document.DocumentReaderService documentReaderService,
org.exoplatform.container.xml.InitParams initParams)
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 java.util.Map<java.lang.String,org.xcmis.spi.StorageProvider> getStorageProviders()
- Returns:
- the storageProviders
addListener
public void addListener(Jcr2XcmisChangesListener jcr2XcmisChangesListener)
getAffectedWorkspaceNames
public java.lang.String[] getAffectedWorkspaceNames()
throws javax.jcr.RepositoryException
- Returns:
- list of workp
- Throws:
javax.jcr.RepositoryException
addSearchService
public void addSearchService(java.lang.String jcrRepositoryName,
java.lang.String jcrWorkspaceName,
org.xcmis.search.SearchService searchService)
getSearchService
public org.xcmis.search.SearchService getSearchService(java.lang.String jcrRepositoryName,
java.lang.String jcrWorkspaceName)
start
public void start()
- Specified by:
start in interface org.picocontainer.Startable
- See Also:
org.xcmis.spi.deploy.ExoContainerCmisRegistry#start()
stop
public void stop()
- Specified by:
stop in interface org.picocontainer.Startable
- See Also:
org.xcmis.spi.deploy.ExoContainerCmisRegistry#stop()
getValueParameter
protected java.lang.String getValueParameter(java.lang.String name,
java.lang.String defaultValue)
getIndexConfiguration
public org.xcmis.search.config.IndexConfiguration getIndexConfiguration()
getRegistry
public org.xcmis.spi.CmisRegistry getRegistry()
- Specified by:
getRegistry in interface org.xcmis.spi.CmisRegistryFactory
Copyright © 2010 eXo Platform SAS. All Rights Reserved.