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

<beans>

   <bean id="interpreterBase" abstract="true">
   
      <property name="transactionService" ref="transactionComponent"/>
      <property name="authorityService" ref="AuthorityService"/>
      
   </bean>
    
   <bean id="repoAdminService" class="org.alfresco.repo.admin.RepoAdminServiceImpl">
      
      <property name="dictionaryDAO" ref="dictionaryDAO"/>
      <property name="searchService" ref="SearchService"/>
      <property name="nodeService" ref="NodeService"/>
      <property name="contentService" ref="ContentService"/>
      <property name="namespaceService" ref="namespaceService"/>
      <property name="messageService" ref="messageService"/>
      
      <property name="repositoryModelsLocation" ref="customModelsRepositoryLocation"/>
      <property name="repositoryMessagesLocation" ref="customMessagesRepositoryLocation"/>
        
   </bean>
   
   <bean id="repoAdminInterpreter" class="org.alfresco.repo.admin.RepoAdminInterpreter" parent="interpreterBase">
      
      <property name="repoAdminService" ref="RepoAdminService"/>
      
   </bean>

   <bean id="repoAdminInterpreterHelp" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
      
      <property name="resourceBundles">
         <list>
             <value>alfresco.messages.repoadmin-interpreter-help</value>
         </list>
      </property>
      
   </bean>
   
    
   <!-- Load any additional models/messages from repo into data dictionary -->
   <!-- note: needs to match boostrap-context.xml locations (customModelsSpace.acp and customMessagesSpace.xml) -->
   
   <bean id="customModelsRepositoryLocation" class="org.alfresco.repo.dictionary.RepositoryLocation">
        <!-- other properties will be defaulted, but can be overriden here -->
        <property name="path">
            <value>/app:company_home/app:dictionary/app:models</value>
        </property>
        <property name="queryLanguage">
            <value>path</value>
        </property>
   </bean>
   
   <bean id="customMessagesRepositoryLocation" class="org.alfresco.repo.dictionary.RepositoryLocation">
        <!-- other properties will be defaulted, but can be overriden here -->
        <property name="path">
            <value>/app:company_home/app:dictionary/app:messages</value>
        </property>
        <property name="queryLanguage">
            <value>path</value>
        </property>
   </bean>
   
</beans>
