<?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" />
    
   <!--                                           -->
   <!-- MT Admin Service Implementation -->
   <!--                                           -->
            
   <bean id="tenantAdminService" parent="baseMultiTAdminService" />
                
   <bean id="tenantInterpreter" class="org.alfresco.repo.tenant.TenantInterpreter" parent="interpreterBase">
        <property name="tenantAdminService" ref="tenantAdminService"/>
        <property name="tenantService" ref="tenantService"/>
        <property name="authenticationService" ref="AuthenticationService"/>
        <property name="baseAdminUsername"><value>${alfresco_user_store.adminusername}</value></property>
   </bean>

   <bean id="tenantInterpreterHelp" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
        <property name="resourceBundles">
            <list>
                <value>alfresco.messages.tenant-interpreter-help</value>
            </list>
        </property>
   </bean>
   
</beans>
