Showing results for 
Search instead for 
Did you mean: 

Documentation of DataHubInitializationCompletedEvent

0 Kudos

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 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)

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)