Class FXConfigAdapter


  • public final class FXConfigAdapter
    extends java.lang.Object
    • Method Detail

      • registerConfigProvider

        public static void registerConfigProvider​(com.caplin.datasource.DataSource dataSource,
                                                  CachedObjectProvider<FXConfig,​ConfigSubjectInfo> provider)
        Registers a provider that is capable of responding to config requests.
        Parameters:
        dataSource - the dataSource to bind the provider to.
        provider - the CachedObjectProvider that will receive the config requests
      • registerSalesConfigProvider

        public static void registerSalesConfigProvider​(com.caplin.datasource.DataSource dataSource,
                                                       CachedObjectProvider<FXSalesConfig,​ConfigSubjectInfo> provider)
        Registers a provider that is capable of responding to sales config requests.
        Parameters:
        dataSource - the dataSource to bind the provider to.
        provider - the CachedObjectProvider that will receive the config requests
      • registerSalesTOBOConfigProvider

        public static void registerSalesTOBOConfigProvider​(com.caplin.datasource.DataSource dataSource,
                                                           CachedObjectProvider<FXConfig,​SalesTOBOConfigSubjectInfo> provider)
        Registers a provider that is capable of responding to sales TOBO config requests.
        Parameters:
        dataSource - the dataSource to bind the provider to.
        provider - the CachedObjectProvider that will receive the config requests
      • registerConfigProvider

        public static void registerConfigProvider​(com.caplin.datasource.DataSource dataSource,
                                                  java.lang.String namespace,
                                                  CachedObjectProvider<FXConfig,​ConfigSubjectInfo> provider)
        Registers a provider that is capable of responding to config requests.
        Parameters:
        dataSource - the dataSource to bind the provider to.
        namespace - the namespace to register the provider on, defaults are defined in ConfigSubjectNamespacing.DefaultNamespaces
        provider - the CachedObjectProvider that will receive the config requests
      • registerSalesConfigProvider

        public static void registerSalesConfigProvider​(com.caplin.datasource.DataSource dataSource,
                                                       java.lang.String namespace,
                                                       CachedObjectProvider<FXSalesConfig,​ConfigSubjectInfo> provider)
        Registers a provider that is capable of responding to sales config requests.
        Parameters:
        dataSource - the dataSource to bind the provider to.
        namespace - the namespace to register the provider on, defaults are defined in ConfigSubjectNamespacing.DefaultNamespaces
        provider - the CachedObjectProvider that will receive the config requests
      • registerSalesTOBOConfigProvider

        public static void registerSalesTOBOConfigProvider​(com.caplin.datasource.DataSource dataSource,
                                                           java.lang.String namespace,
                                                           CachedObjectProvider<FXConfig,​SalesTOBOConfigSubjectInfo> provider)
        Registers a provider that is capable of responding to sales TOBO config requests.
        Parameters:
        dataSource - the dataSource to bind the provider to.
        namespace - the namespace to register the provider on, defaults are defined in ConfigSubjectNamespacing.DefaultNamespaces
        provider - the CachedObjectProvider that will receive the config requests