On Tue, Jul 28, 2009 at 15:14, Rickard Öberg<[email protected]> wrote:
> Edward Yakop wrote:
>>>
>>>   @Event
>>>   OrganizationalUnit organizationalUnitCreated(CreatedEvent event);
>>
>> Can this is defined in private mixin? and,
>> how do u order the event handler execution?
>
> Not sure if this can be done in a private mixin, since during replay the
> external service that does the replay must be able to call them. Also, if
> they are in a private mixin that means that you have to declare essentially
> two mixins for everything you need to do: the command mixin and the event
> mixin. Might be overkill.

Ok. I'm just worried that an API exposed a method that will create an
entity that bypass validation.

Regards,
Edward Yakop

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

Reply via email to