<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
    
   <!--
        Bootstrap Data: Prototype beans for the per-tenant bootstrap.
        These are fetched by the MultiTAdminServiceImpl when new tenant is created.
   -->
   <bean id="userBootstrap-mt" parent="userBootstrap-base" singleton="false" />
   <bean id="systemBootstrap-mt" parent="systemBootstrap-base" singleton="false" />
   <bean id="versionBootstrap-mt" parent="versionBootstrap-base" singleton="false" />
   <bean id="version2Bootstrap-mt" parent="version2Bootstrap-base" singleton="false" />
   <bean id="spacesArchiveBootstrap-mt" parent="spacesArchiveBootstrap-base" singleton="false" />
   <bean id="spacesBootstrap-mt" parent="spacesBootstrap-base" singleton="false" />
    
    
   <bean id="baseMultiTAdminService" class="org.alfresco.repo.tenant.MultiTAdminServiceImpl" abstract="true">
   
      <!--
      <property name="nodeService" ref="NodeService"/>
      -->
      <property name="nodeService" ref="dbNodeServiceImpl"/> <!-- TODO - go direct, until we expose deleteStore via public NodeService API -->
      <property name="dictionaryComponent" ref="dictionaryService"/>
      <property name="authenticationContext" ref="authenticationContext"/>
      <property name="repoAdminService" ref="RepoAdminService"/>
      <property name="tenantService" ref="tenantService"/>
      <property name="transactionService" ref="transactionComponent"/>
      <property name="attributeService" ref="AttributeService"/>
      <property name="passwordEncoder" ref="passwordEncoder"/>
      <property name="tenantFileContentStore" ref="tenantFileContentStore"/>     
      <property name="workflowService" ref="WorkflowService"/>
      <property name="repositoryExporterService" ref="repositoryExporterComponent"/>
      <property name="moduleService" ref="moduleService"/>
      <property name="baseAdminUsername"><value>${alfresco_user_store.adminusername}</value></property>
      
      <property name="siteAVMBootstrap" ref="siteAVMBootstrap"/>
      
   </bean>
   
</beans>
