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.

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to