[infinispan-dev] Where to put KeyValueFilterFactory and ConverterFactory...

Galder Zamarreño galder at redhat.com
Thu Jun 19 10:12:19 EDT 2014

Hi all,

As I work on ISPN-3950, I’ve been thinking about the location of KeyValueFilterFactory  and ConverterFactory interfaces. These interfaces provide filter/converter instances to be installed in server/hotrod, but we expect users to provide implementations of such classes and plug the server with them.

These interfaces are currently in server/hotrod project, something I’m not keen on doing any more, because users would need to get access to these interfaces and they could start fiddling with other stuff in that module, and I want to avoid that at all costs, particularly since I’m hoping to do some major refactoring of the decoders in 7.1.

So, the q is: where should KeyValueFilterFactory and ConverterFactory live? 

They’re for sure needed by server/hotrod. client/hotrod-client does not need them explicitly, but the users need to provide implementations of them and plug them to the server. With this in mind, core/ might be the best place for it. They cannot live in commons/ cos it’d would require to move KeyValueFilter/Converter and other dependant classes to commons.

Is everyone happy with ConverterFactory and KeyValueFilterFactory being in core/?

Galder Zamarreño
galder at redhat.com

More information about the infinispan-dev mailing list