Programmatically Building A Coherence Cache-config

(Doc ID 2360837.1)

Last updated on FEBRUARY 28, 2018

Applies to:

Oracle Coherence - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Goal

On : 12.2.1.3.0 version, Caching,CacheStore,Invocation

Programmatically building a Coherence cache-config

Is it possible to programmatically build a cache-config file on the fly using a pattern similar to that defined in the following article: http://thegridman.com/coherence/coherence-12-1-2-you-dont-need-no-stinking-cache-config-xml/

If it is possible to programmatically build a CacheFactory, is there a way to “test” the code without having to used it to fetch a NamedCache? For instance, could we programmatically build the cache-config objects then use that to generate a real cache-config.xml file that could be validated against a schema. 
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms