>>>>> Jean-Baptiste Onofre <[email protected]>:

> I don’t think it’s possible and I don’t think it’s a good idea to do
> that with SCR. The component state is evaluate at activate.

Right, so when the activate method is called it's already too late?

I guess that pulls the rug under the suggestion I had in my other
reply...?

> I would rather create a custom controller service acting as a service
> factory when the HTTP requests come.

Hm... but doesn't that just push the problem to the custom controller
service...?

What I want (I think), is to somehow delay the PreHook service until I
have a liquibase ChangeLog

Or maybe I don't have to involve the PreHook at all?

The data liquibase file doesn't have to be loaded at the same time as
the schema, it can be loaded later.

But: the schema must be in place before the data is attempted loaded.

Hmm.. I need to rethink this.

In any case, messing with the DS activation is a bad idea.

Thanks to both!

Reply via email to