DataBean activation | Store Registry


12.1.4 Registry objects

The Commerce server runtime includes several objects that implement the registry interface, which includes initialize and refresh methods. Some registries (for example, the StoreRegistry) are implemented using the AbstractManagedDynamicCacheRegistry abstract class, which provides a LRU lazy cache based on a Hashtable and a LinkedList of most recently used elements. The initial capacity and maximum size of the cache is configurable in the <instance>.xml file via the "initialCapacity" and "regMaxSize" attributes of the "<registry>" element of the "<Registries>" instance property. The default value for "regMaxSize" is 500.