On 14 Sep 2010, at 11:44, Galder ZamarreƱo wrote:
>>
>> Maybe it could be possible to reserve some command numbers for
>> experiments? Or allow pluggable invocations?
> This is another issue that a generic command would solve - one wouldn't have to
bother keeping new command IDs unique.
Hmmm, why?
Yes exactly - it doesn't solve anything because the impl of this GenericCommand would
be a big-ass switch statement dispatching the calls elsewhere! :) Sounds like
re-implementing reflection to me.
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org