org.exoplatform.ecms.xcmis.sp
Class StorageProviderImpl
java.lang.Object
org.exoplatform.ecms.xcmis.sp.StorageProviderImpl
- All Implemented Interfaces:
- org.picocontainer.Startable, org.xcmis.spi.StorageProvider
public class StorageProviderImpl
- extends java.lang.Object
- implements org.xcmis.spi.StorageProvider, org.picocontainer.Startable
- Version:
- $Id: StorageProviderImpl.java 76453 2011-11-11 10:14:53Z benjamin_paillereau $
- Author:
- Andrey Parfonov
|
Constructor Summary |
StorageProviderImpl(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.xcmis.spi.PermissionService permissionService,
org.xcmis.spi.CmisRegistry registry,
org.exoplatform.container.xml.InitParams initParams)
This constructor is used by eXo container. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NODETYPE_MAPPING
public static final java.util.Map<java.lang.String,TypeMapping> DEFAULT_NODETYPE_MAPPING
StorageProviderImpl
public StorageProviderImpl(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.xcmis.spi.PermissionService permissionService,
org.xcmis.spi.CmisRegistry registry,
org.exoplatform.container.xml.InitParams initParams)
- This constructor is used by eXo container.
- Parameters:
repositoryService - JCR repository servicedocumentReaderService - DocumentReaderService required for indexing
mechanismpermissionService - PermissionServiceregistry - CmisRegistry will be used for registered current
StorageProvider after its initializationinitParams - configuration parameters
getConnection
public org.xcmis.spi.Connection getConnection()
-
- Specified by:
getConnection in interface org.xcmis.spi.StorageProvider
getNodeTypeMapping
public java.util.Map<java.lang.String,TypeMapping> getNodeTypeMapping()
- Returns:
- the nodeTypeMapping
getStorageConfiguration
public StorageConfiguration getStorageConfiguration()
getStorageID
public java.lang.String getStorageID()
-
- Specified by:
getStorageID in interface org.xcmis.spi.StorageProvider
start
public void start()
-
- Specified by:
start in interface org.picocontainer.Startable
stop
public void stop()
-
- Specified by:
stop in interface org.picocontainer.Startable
init
protected void init()
throws javax.jcr.RepositoryException,
org.exoplatform.services.jcr.config.RepositoryConfigurationException,
org.xcmis.search.SearchServiceException
- Throws:
javax.jcr.RepositoryException
org.exoplatform.services.jcr.config.RepositoryConfigurationException
org.xcmis.search.SearchServiceException
setSearchService
public void setSearchService(org.xcmis.search.SearchService searchService)
- Parameters:
searchService - the searchService to set
Copyright © 2011 eXo Platform SAS. All Rights Reserved.