[infinispan-dev] support for extending Infinispan

Manik Surtani manik at jboss.org
Tue Sep 14 06:47:05 EDT 2010


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 at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list