Registry Manager

The Registry Manager maintains a set of registries for caching WebSphere Commerce run-time data. Each registry provides methods to enable adding, deleting and refreshing of the registry content. These methods are available to the URL interface by means of the ListRegistry and the RefreshRegistry commands.

If the data in the tables associated with a registry is changed, you will need to refresh that registry for the change to take effect. For example, if a new entry is added to the URLREG table, the UrlRegistry has to be refreshed. Otherwise, the WebSphere Commerce run-time code will not recognize the new URL.

The Registry Manager can manage any registries registered to it, including customer created registries.

There are two ways to register a registry with the Registry Manager:

  1. Define a new registry under the registries node in the instance.xml file.
  2. Explicitly call the addRegistry() method of the RegistryManager class.

The following is a list of registries and their associated tables:

Registries Associated table
AltLanguageRegistry STORE, if the store group is changed or a new record is added and LANGPAIR If the AltLanguageRegistry is updated with new descriptions then the CurrencyManager and the QuantityManager should also be updated, because of the alternate languages specified.
BusinessPolicyRegistry POLICY, POLICYCMD
CalculationRegistry CALRULE, CALMETHOD, CALSCALE, CALRANGE, CALRLOOKUP, STENCALUSG, and CALCODE (where only the default calculationCodes are cached), TAXCGRY, CATENCALCDCATGPCALCDCALCODEMGP, CALRULEMGPSHPJCRULE, TAXJCRULECRULESCALE

This registry needs to be refreshed whenever coupon, discount, shipping, or taxation configuration has been changed.

CommandRegistry CMDREG
CurrencyManager CURLIST, CURCVLIST, CURCONVERT, CURFORMAT, CURFMTDESC, STORELANG, NUMBRUSG, STOREENT (If the column SETCURR changes)
DeviceFmtRegistry DEVICEFMT
LanguageRegistry LANGUAGE
QuantityManager QTYCONVERT, QTYFORMAT, QTYFMTDESC, NUMBRUSG
SCFRegistry This registry caches the Store Configuration File (SCF) and needs to be refreshed whenever this file is updated. Tooling that modifies the SCF will automatically refresh this registry. The SCF for a given store is located in the path defined by the SCFFile variable in the instance configuration file.
StoreRegistry STORE, STOREENT, and STOREGRP
TradingAgreementRegistry TRADING
UrlRegistry URLREG
ViewRegistry VIEWREG
UBFRegistry FLOWDOMAIN, FLOWDESC, FLOWTYPE, FLTYPEDESC, FLOW, FLDOMNDESC, FLSTATEGP, FLSTGPDSC, FLSTATEDCT, FLSTDCTDSC, FLSTATEREL, FLTRANSITN, FLTRANSDSC, FLCOMPOSE