[infinispan-dev] Where to put KeyValueFilterFactory and ConverterFactory...
Tristan Tarrant
ttarrant at redhat.com
Thu Jun 19 10:25:42 EDT 2014
To me core is ideal:
when you develop these components, it's as if you were running in an
embedded environment (which is what the server essentially is), and core
is the closest you can get.
Tristan
On 19/06/14 16:12, Galder Zamarreño wrote:
> 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/?
>
> Cheers,
> --
> Galder Zamarreño
> galder at redhat.com
> twitter.com/galderz
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
More information about the infinispan-dev
mailing list