cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation of DataHubInitializationCompletedEvent

ncmg
Explorer
0 Kudos
68

We use DataHubInitializationCompletedEvent to run code that needs the datahub up and running. It seems to work fine. However, it seems is not a good basis for sound software development, even if an official example uses the same event in FeetionListener.

  • Is there a documentation of DataHubInitializationCompletedEvent somewhere? * I think https://wiki.hybris.com/display/release5/Data+Hub+Events would be a good place

  • The name is a bit misleading, initialization in the hybris world usually means a one time thing, clearing the database, etc.

Accepted Solutions (1)

Accepted Solutions (1)

rafal_gdowski
Active Contributor
0 Kudos

There is no documentation on it as far as I know. Yes, I agree, it should be documented with the Data Hub Events page. The name is a bit misleading, although the Data Hub is not the hybris platform ... but it is a good point.

DataHubInitializationCompletedEvent is fired after all of the extensions have been loaded into the Data Hub and the spring application context has been refreshed after orderly loading all of the 'spring extension beans'.

There is still some minor 'initialization' happening after the event is fired (some metadata caching, etc..), however, it does mean that at this point the Data Hub has been 'initialized' and all of the spring beans are ready to be used.

Answers (0)