[infinispan-dev] Request for feedback on cache store support in AS7 Infinispan subsystem

Paul Ferraro paul.ferraro at redhat.com
Fri Sep 16 10:58:22 EDT 2011


----- Original Message -----
> From: "Tristan Tarrant" <ttarrant at redhat.com>
> To: infinispan-dev at lists.jboss.org
> Sent: Friday, September 16, 2011 4:07:23 AM
> Subject: Re: [infinispan-dev] Request for feedback on cache store support in AS7 Infinispan subsystem
> On 09/16/2011 09:56 AM, Sanne Grinovero wrote:
> > On 16 September 2011 09:50, Tristan Tarrant<ttarrant at redhat.com>
> > wrote:
> >
> >> I was thinking if there could be a better/simpler way and allow
> >> users to
> >> deploy key2stringmappers in the same way that jdbc drivers are
> >> deployed:
> >> by placing a jar with an appropriate
> >> META-INF/services/org.infinispan.loaders.keymappers.Key2StringMapper
> >> in
> >> the deployments dir.
> >>
> >> What do you think ?
> > I'd love that. The problem is that the Key2StringMapper
> > implementations would need to depend on the key types they where
> > designed for.
> >
> That would be a problem when deploying via the module method too,
> wouldn't it ? You'd have to decouple the classes that make up your key
> out of your application...

The other complication this introduces is that the Infinispan API would have to be exposed by default, i.e. available to the application classloader the same way javax.sql, and all spec apis are.


More information about the infinispan-dev mailing list