public class StorageProviderImpl extends Object implements org.xcmis.spi.StorageProvider, org.picocontainer.Startable
| Modifier and Type | Class and Description |
|---|---|
static class |
StorageProviderImpl.StorageProviderConfig |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,TypeMapping> |
DEFAULT_NODETYPE_MAPPING |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
org.xcmis.spi.Connection |
getConnection() |
Map<String,TypeMapping> |
getNodeTypeMapping() |
StorageConfiguration |
getStorageConfiguration() |
String |
getStorageID() |
protected void |
init() |
void |
setSearchService(org.xcmis.search.SearchService searchService) |
void |
start() |
void |
stop() |
public static final Map<String,TypeMapping> DEFAULT_NODETYPE_MAPPING
public StorageProviderImpl(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.xcmis.spi.PermissionService permissionService,
org.xcmis.spi.CmisRegistry registry,
org.exoplatform.container.xml.InitParams initParams)
repositoryService - JCR repository servicepermissionService - PermissionServiceregistry - CmisRegistry will be used for registered current
StorageProvider after its initializationinitParams - configuration parameterspublic org.xcmis.spi.Connection getConnection()
getConnection in interface org.xcmis.spi.StorageProviderpublic Map<String,TypeMapping> getNodeTypeMapping()
public StorageConfiguration getStorageConfiguration()
public String getStorageID()
getStorageID in interface org.xcmis.spi.StorageProviderpublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startableprotected void init()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void setSearchService(org.xcmis.search.SearchService searchService)
searchService - the searchService to setCopyright © 2003–2019 eXo Platform SAS. All rights reserved.