org.alfresco.repo.bulkimport.impl.stores
Class DefaultContentStoreMapProvider

java.lang.Object
  extended by org.springframework.extensions.surf.util.AbstractLifecycleBean
      extended by org.alfresco.repo.bulkimport.impl.stores.AbstractContentStoreMapProvider
          extended by org.alfresco.repo.bulkimport.impl.stores.DefaultContentStoreMapProvider
All Implemented Interfaces:
java.util.EventListener, ContentStoreMapProvider, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class DefaultContentStoreMapProvider
extends AbstractContentStoreMapProvider

Provides a default Map() of registered content stores. Use when the Content Store Selector is not available (e.g on community releases).

Since:
4.0

Field Summary
 
Fields inherited from class org.alfresco.repo.bulkimport.impl.stores.AbstractContentStoreMapProvider
contentStore, storeMap
 
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log
 
Constructor Summary
DefaultContentStoreMapProvider()
           
 
Method Summary
 void setDefaultStoreName(java.lang.String defaultStoreName)
           
protected  void setUpStoreMap()
          Default implementation, relies on the default ContentStore.
 
Methods inherited from class org.alfresco.repo.bulkimport.impl.stores.AbstractContentStoreMapProvider
checkAndGetStore, getContentStore, getStoreMap, onBootstrap, onShutdown, setContentStore
 
Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
getApplicationContext, onApplicationEvent, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultContentStoreMapProvider

public DefaultContentStoreMapProvider()
Method Detail

setUpStoreMap

protected void setUpStoreMap()
Default implementation, relies on the default ContentStore.

Specified by:
setUpStoreMap in class AbstractContentStoreMapProvider

setDefaultStoreName

public void setDefaultStoreName(java.lang.String defaultStoreName)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.