|
From: Andy D. <an...@ma...> - 2004-11-09 00:09:20
|
I must apologize - I posted the message below to the wrong list. Please disregard. I'll repost on spring-rcp. - Andy On Monday 08 November 2004 04:07 pm, you wrote: > Hello all, > As of my snapshot of spring-rich, the command framework is defined mostly > via abstract and concrete classes (AbstractCommand, ActionCommand, etc). > This is all completely functional, but every time I use the command > framework it just... feels wrong... Of course, there are some interfaces > (such as Guarded), but I just can't shake the feeling that there ought to > be a Command or ActionCommand interface. Sometimes I need to reference a > command in my code and I can never boil my reference down to an > interface... the reference almost always becomes "AbstractCommand" - again, > this feels wrong. I know that this is really unnecessary from a functional > standpoint, but what is the consensus on making command/action command > interface(s)? For me, I don't have any use cases that would benefit from > it - it would benefit me only in that I would breath easier about the whole > thing. But still, something in me screams, "give me interfaces or give me > death!" Well, not death literally of course. :-) > > - Andy |