Hey,

I have now added support for contextual modifiers (see QI-178 and QI-180 
for details).

The suggested example is how it works, i.e.:
> assemble(ModuleAssembly module)
> {
> module.addEntities(MyEntity.class,AnotherEntity.class).withConcerns(SomeConcern.class,
>  
> AnotherConcern.class).withSideEffects(SomeSideEffect.class);
> }

Contextual modifiers can be added to Composites, Entities, Values. See 
ModuleConcernTest and ModuleSideEffectTest for example usage. Pretty 
straightforward.

Due to internal implementation problems I have not yet added them to 
Services. Right now Services are implemented using plain Composites, so 
I will have to change that first.

/Rickard


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

Reply via email to