Once you have implemented your inventory manager, the next step is configuring the rest of ATG Commerce to work with it.

First, change the InventoryManager component in atg/commerce/inventory/.

Out-of-the-box, the class used by this component is RepositoryInventoryManager. Change the first line to read;


If you have not changed any of the other references to InventoryManager, this should be the only change necessary. By default, CachingInventoryManager uses this Nucleus component because its uncached inventory manager and all other components refer to one of these two components. Because your new class implements the InventoryManager interface, it can be used throughout ATG Commerce.

If you change any other links, make the appropriate adjustments. The following properties refer to the InventoryManager:

loading table of contents...