Instead of:
public IBehavior newValidationBehavior(Component component)

Have:
public void addBehavior(Component component)

I don't dislike it, but I see one practical problem. If we'd ever
support removing validators, we wouldn't know which behaviors would
have to be removed. So for this interface to work, we really need add
*and* remove defined.

Eelco

Reply via email to