close

Filter

loading table of contents...

Release Notes / Version 12.2406.1

Table Of Contents

Migration of Spring XML configuration files to Java Configuration

The CoreMedia Component Loader is deprecated in favor of Spring Boot auto configurations. Many Spring component XML files have been converted to Spring Boot auto configuration classes. Several non-component Spring XML files have been converted to Spring configuration classes in that course. Also, existing configuration classes have been renamed and component properties files have been renamed to ordinary properties files. The detailed changes are listed below.

Migration from CoreMedia Component Loader to Spring Boot auto configurations:

  • component-lc-asset.xml —> LcCaeAssetAutoConfiguration

  • component-elastic-social.xml → ElasticSocialCaeAutoConfiguration

  • component-alx-cae.xml → AlxCaeAutoConfiugration

  • component-am-cae.xml → AMCaeAutoConfiguration

  • component-blueprint-cae.xml → CaeBaseComponentAutoConfiguration

  • component-corporate-cae.xml → CorporateCaeAutoConfiguration

  • component-alx-google-cae.xml → AlxGoogleCaeAutoConfiguration

  • component-personalization.xml → P13NCaeAutoConfiguration

  • component-p13n-preview-cae.xml → P13NPreviewCaeAutoConfiguration

  • component-alx-p13n-cae.xml → P13NAlxCaeAutoConfiguration

  • component-cae.xml → CaeComponentAutoConfiguration

  • component-cap-client.xml → CapClientComponentAutoConfiguration

  • component-base.xml → CustomizerAutoConfiguration

Migration of Spring XML to Spring Java configuration:

  • livecontext-handler-interceptors.xml → LcCaeInterceptorsConfiguration

  • component-lc-elastic-social.xml → LcElasticSocialCaeAutoConfiguration

  • component-lc-p13n-cae.xml → LcP13NCaeAutoConfiguration

  • component-lc-preview-cae.xml → LcPreviewCaeAutoConfiguration

  • component-lc-p13n-preview-cae.xml → LcP13NPreviewCaeAutoConfiguration

  • livecontext-preview-links.xml → LcPreviewCaeLinkConfiguration

  • livecontext-preview-handler-interceptors.xml → LcPreviewCaeInterceptorsConfiguration

  • personalization-context.xml → P13NCaeContextConfiguration

  • p13n-preview-cae-context.xml → P13NPreviewCaeContextConfiguration

  • personalization-collection.xml → ContextCollectionConfiguration

Removal of Spring XML configuration files:

  • removed lc-asset-handlers.xml (import LcCaeAssetHandlersConfiguration instead)

  • removed blueprint-i18n.xml (import com.coremedia.blueprint.cae.config.BlueprintI18nCaeBaseLibConfiguration instead)

  • removed blueprint-l10n.xml (import com.coremedia.blueprint.cae.config.BlueprintL10nCaeBaseLibConfiguration instead)

  • removed blueprint-search.xml (import com.coremedia.blueprint.cae.config.BlueprintSearchCaeBaseLibConfiguration instead)

  • removed blueprint-richtextfilters.xml (import com.coremedia.blueprint.cae.config.BlueprintRichtextFiltersConfiguration instead)

  • removed livecontext-validation.xml (import LcCaeValidationConfiguration instead)

  • removed livecontext-links.xml (import CommerceLinkConfiguration instead)

  • removed livecontext-fragment.xml (import LcCaeFragmentConfiguration instead)

  • ec-cae-lib.xml was resolved. Its imports were transferred to CorporateCaeAutoConfiguration and LcCaeAutoConfiguration.

  • removed livecontext-preview-hybrid.xml. It only contained a customizer, which was migrated to LcPreviewCaeAutoConfiguration.

  • removed blueprint-links.xml (import com.coremedia.blueprint.cae.config.BlueprintLinksCaeBaseLibConfiguration instead)

  • removed personalization-interceptors.xml (import com.coremedia.blueprint.personalization.config.P13NInterceptorsConfiguratio instead)

  • removed p13n-preview-cae-context-.xml (import
    com.coremedia.blueprint.personalization.preview.config.P13NPreviewCaeContextConfiguration instead)

  • removed bpbase-sitemodel.xml (import com.coremedia.blueprint.base.multisite.BlueprintMultisiteModelConfiguration instead)

  • removed view-development-services.xml (import com.coremedia.objectserver.view.config.CaeViewDevelopmentServicesConfiguration instead)

  • removed view-error-services.xml (import com.coremedia.objectserver.view.config.CaeViewErrorServicesConfiguration instead)

  • removed customizer-services.xml (import com.coremedia.springframework.customizer.CustomizerConfiguration instead)

Renamed Spring Java configurations:

  • LcCaeAssetConfiguration → LcCaeAssetHandlersConfiguration

  • CaeBaseComponentConfiguration → CaeBaseComponentAutoConfiguration

  • LiveContextPreviewCaeConfiguration → LcPreviewCaeAutoConfiguration

  • CapClientComponentConfiguration → CapClientComponentAutoConfiguration

Miscellaneous:

  • removed component-blueprint-cae.properties as it only contained
    properties set to the default values or commented out properties.

  • removed abstract bean 'storeContextInterceptor’ as there is no such thing as abstract beans in Java config.

  • removed component-livecontext.properties → livecontext.properties (imported in LcCaeAutoConfiguration)

  • migrated bean definitions from CaeComponentConfiguration to CaeComponentAutoConfiguration and removed it

  • removed com.coremedia.personalization.context.collector.LicenseHelper from public API

  • removed com.coremedia.cms:cae-util module. Consequently, uapi-services.xml and CaeUtilConfiguration were removed as well. The beans were migrated to ContentBeanServicesConfiguration.

(CMS-23224)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.