Hello Matt!

I imagine you can have a custom CacheStore factory (implementing
Factory<CacheStore&lt;K, V>>) that will create (or otherwise obtain) the
dependency, and then supply it to every subsequent CacheStoreAdapter it
creates.

Then you will pass the same CacheStoreFactory in configuration of each cache
that you create, via setCacheStoreFactory().

You can also inject some useful things into CacheStore, such as Ignite
instance via @IgniteInstanceResource annotation and CacheStoreSession via
@CacheStoreSessionResource.

Hope this helps,



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to