On Mon, Oct 27, 2008 at 3:51 AM, Rickard Öberg <[EMAIL PROTECTED]>wrote:
> Niclas Hedhman wrote: > > So the "real use-case" (once all the noise and "solutions" are filtered > out) is; > > > > "Initialization of immutable private mixins are cumbersome and needs a > > better solution." > > > > CargoState state = builder.stateFor( CargoState.class ); > > : > > : > > > > I suspect this is currently not supported, but a lot easier to bring > > up for discussion than tossing Property out, placing implementation > > details in context interfaces and what not. > > The above should actually be working right now, AFAIK, even if > CargoState is internal. That is one of the main usecases of .stateFor() > really, to initialize internal state. > > Thanks Niclas for pointing out that this entire discussion has been a > LOT of noise for no reason really. > And that's great for initialization. My biggest question when using a private mixin still remains: How do you do a query for Cargo (or CargoEntity) when all its state is stored in CargoState?
_______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

