Class ProductConfigAfterInitializationStartEventListener

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<AfterInitializationStartEvent>

    public class ProductConfigAfterInitializationStartEventListener
    extends AbstractEventListener<AfterInitializationStartEvent>
    Event Handler to release CPS runtime configurations just before the System is initialiazed.
    The Lifecycle of any CPS runtime configuration created is managed by Hybris. When we initialize, any data on persistet configurations are lost, hence we have to also infor the CPS service, that the corresponding CPS runtime configuratiuon can be deleted.