[infinispan-dev] Configuring a Loader by Instance

Sanne Grinovero sanne at infinispan.org
Tue Jun 26 10:21:14 EDT 2012


BTW this is also needed to be able to migrate the testsuite to
actually use the new Configuration API, which in turn is needed to
make sure the new API is stable.

I'm migrating the testsuite of Query and Lucene Directory, I think we
should migrate all tests ASAP, as I'm sure we promised to do to Pete
back in October to test his configuration work...

Sanne

On 26 June 2012 15:15, Sanne Grinovero <sanne at infinispan.org> wrote:
> I'm needing to pass an instance of a CacheLoader and other services
> directly to a ConfigurationBuilder, or have any way to start an
> EmbeddedCacheManager using my existing instances.
>
> There is this comment in the code, which seems to promise it will be
> possible in 5.2 :
>
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/configuration/cache/LoaderConfigurationBuilder.java#L51-54
>
> Who's working on it? Any progress? Sorry I couldn't find the issue,
> nor I remember any discussion about this.. still this would be very
> useful.
>
> Actually configuring a CacheLoader is just the first step of the
> flexibility I need, I eventually will need to be able to wire-up more
> "internal" component type from provided instances, but the CacheLoader
> would be a good start.
>
> Cheers,
> Sanne


More information about the infinispan-dev mailing list