Interface ItemCollectorRegistry
- All Known Implementing Classes:
DefaultItemCollectorRegistry
public interface ItemCollectorRegistry
Generic Item Collector Registry interface that should be responsible for managing (memory cache) and retrieving the corresponding
ItemCollector for a given ItemModel.-
Method Summary
Modifier and TypeMethodDescriptiongetItemCollector(ItemModel itemModel) Returns the correspondingItemCollectorfor a givenItemModel
-
Method Details
-
getItemCollector
Returns the correspondingItemCollectorfor a givenItemModel- Parameters:
itemModel- the item model that will be used to retrieve theItemCollectorinstance.- Returns:
- the
Optional<ItemCollector>object for the given item model passed.
-