Quoting Niclas Hedhman <[email protected]>:
Are you talking about LifeCycle or Initializable??
I'm talking about LifeCycle.
They are handled slightly differently. First of all, LifeCycle methods are only called upon creation/deletion of the Entity, not the instance representing the entity in memory. Also, I vaguely recall that for non-Entities, LifeCycle has no meaning.
It is an entity in question, and it is the creation of entity as 'usecase'.
I also recall that unlike other methods, LifeCycle methods are called on ALL mixins of the Entity (need to verify this, since *I* normally limit LifeCycle to a single Mixin.).
Well, that obviously is (currently) not the case. I could make a small little testcase for that (separate from QI-272).
On the other hand, Initializable is called (if defined) when a Mixin (that implements it) is instantiated. Does that help??
Kind of, now I know that Lifecycle-implementing mixing *should* have been called. :)
_______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

