close

Filter

Release Notes / Version 11.2201
Table Of Contents

Simplified Registration of Custom Commerce Bean Types

The class com.coremedia.livecontext.ecommerce.common.CommerceBeanTypeRegistry was removed and com.coremedia.livecontext.ecommerce.common.CommerceBeanType was converted from an interface to an implementation class. Instead of registering enum classes defining custom commerce bean types you may now define custom commerce bean types on demand by calling com.coremedia.livecontext.ecommerce.common.CommerceBeanType#of(String) . This solves the issue of class loading order which occasionally lead to missing custom commerce bean types at runtime.

The class com.coremedia.blueprint.base.livecontext.client.beans.ClientCommerceBeanFactoryMethodRegistry was removed from public API. Use com.coremedia.blueprint.base.livecontext.client.beans.ClientCommerceBeanFactory#register instead to register a custom commerce bean class.

(CMS-17159)

Was this article useful?

Search Results

Table Of Contents