To create FileStoreFactory instances from properties files:

  1. For each EAC application, create a properties file for the corresponding FileStoreFactory component. Set the $class property to atg.endeca.assembler.content.ExtendedFileStoreFactory:

    $class=atg.endeca.assembler.content.ExtendedFileStoreFactory

  2. Set the configurationPath property of each FileStoreFactory component to the file-system pathname of the directory to retrieve promoted content from. For example, the configurationPath property for the FileStoreFactory component associated with an EAC application named ATGde might be:

    configurationPath=\
      ToolsAndFrameworks/version/server/workspace/state/repository/ATGde

  3. Set the appName property of each FileStoreFactory component to the name of the associated EAC application. For example:

    appName=ATGde

  4. Modify the /atg/endeca/assembler/AssemblerApplicationConfiguration component in the local server configuration. Set the useFileStoreFactory property to true to automatically set a reference to the corresponding FileStoreFactory on the application’s WorkbenchContentSource:

    useFileStoreFactory=true

  5. Set the applicationKeyToStoreFactory property of the AssemblerApplicationConfiguration component to map application keys to the FileStoreFactory components you created. For example:

    applicationKeyToStoreFactory=\
      en=/atg/endeca/assembler/cartridge/manager/FileStoreFactory_en,\
      es=/atg/endeca/assembler/cartridge/manager/FileStoreFactory_es,\
      de=/atg/endeca/assembler/cartridge/manager/FileStoreFactory_de

  6. Modify the /atg/endeca/assembler/admin/EndecaAdministrationService component in the local server configuration. Set the $class property to atg.endeca.assembler.MultiAppAdministrationService:

    $class=atg.endeca.assembler.MultiAppAdministrationService

    The MultiAppAdministrationService class is able to handle updates to multiple store factory instances.

  7. Set the storeFactory property of the EndecaAdministrationService component to null:

    storeFactory^=/Constants.NULL


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices