<!--
  ftconfig.xml

  Configuration file for FT
  
  Modification History

  06.01.2006 ola    Initial version
  06.06.2006 ola    FTClassObjectFactory added
-->
<FTConfig
  baseDataDir="ftdata">


  <FTClassObjectFactory>
    <FTRegisterClassObject
      classObject="FTPersistentSetImpl"
      key="FTPersistentSet"/>
  </FTClassObjectFactory>


  <!-- configuration for logging -->
  <ECLoggingXMLConfiguration>

    <ECLoggingWriter id="filewriter"
      class="ECFileLoggingWriter"
      baseFilename="FTSample.log"/>
    
    <!--ECLoggingWriter id="nslogwriter"
      class="ECNSLogLoggingWriter"/-->
    
    <ECLoggingFormatter class="ECDefaultLoggingFormatter" 
      id="defaultWriter"/>
    
    <!-- map some contexts to configurations -->
    <ECLoggingConfiguration id="debugIntoFile"
      loggingLevel="TRACE"
      loggingWriter-idref="filewriter"
      loggingFormatter-idref="defaultWriter"/>
  
    <ECLoggingContext 
      context="FTCore" 
      loggingConfiguration-idref="debugIntoFile"/>
    <ECLoggingContext 
      context="FTGeneric" 
      loggingConfiguration-idref="debugIntoFile"/>
    <ECLoggingContext 
      context="BDB" 
      loggingConfiguration-idref="debugIntoFile"/>
  </ECLoggingXMLConfiguration>
  
  
  <!-- configuration of FT -->
  <DatabaseNames class="FTConfigDatabaseNames">
    <DatabaseName class="FTConfigDatabaseName"
       entry="FTDatabaseName.DefaultObject2IdMapper"
       databaseName="defaultObject2Id.db"/>

    <DatabaseName class="FTConfigDatabaseName"
       entry="FTDatabaseName.DefaultDictionaryProvider"
       databaseName="defaultDictionaryProvider.db"/>

    <DatabaseName class="FTConfigDatabaseName"
      entry="FTDatabaseName.NodeId2ProviderManager"
      databaseName="node2provider.db"/>

    <DatabaseName class="FTConfigDatabaseName"
      entry="FTDatabaseName.graphid2Graph"
      databaseName="graphId2graph.db"/>
      
    <DatabaseName class="FTConfigDatabaseName"
      entry="FTDatabaseName.keyToGeneralGraphInfo"
      databaseName="graphInfo.db"/>

    <DatabaseName class="FTConfigDatabaseName"
      entry="FTDatabaseName.graphDBNameScheme"
      databaseName="graph-%d.db"/>

    <DatabaseName class="FTConfigDatabaseName"
      entry="FTDatabaseName.objectToIdMapper"
      databaseName="objectToId.db"/>
 
    <DatabaseName class="FTConfigDatabaseName"
      entry="FTDatabaseName.nodes"
      databaseName="nodes.db"/>
 
    <DatabaseName class="FTConfigDatabaseName"
      entry="FTDatabaseName.id2Recno"
      databaseName="idToRecno.db"/>
  </DatabaseNames>

  <Services class="FTConfigServices">
    <ServiceLoaders class="FTConfigServiceLoaders">
      <ServiceLoader 
        class="FTDictionaryServiceLoader"
        databaseNameSchema="dictionary.db"/>
    </ServiceLoaders>
  </Services>
</FTConfig>

