configurable-cache-factory-config

configurable-cache-factory-config

Used in: coherence.

Elements

The following table describes the elements you can define within the configurable-cache-factory-config element.

Element Required/Optional Description
<class-name> Required Specifies the name of a Java class that provides the cache configuration factory.

Default value is com.tangosol.net.DefaultConfigurableCacheFactory.
<init-params> Optional Contains one or more initialization parameter(s) for a cache configuration factory class which implements the com.tangosol.run.xml.XmlConfigurable interface.

For the default cache configuration factory class (DefaultConfigurableCacheFactory) the parameters are specified as follows:
<init-param>
  <param-type>java.lang.String</param-type>
  <param-value system-property="tangosol.coherence.cacheconfig">
    coherence-cache-config.xml
  </param-value>
</init-param>

Preconfigured override is tangosol.coherence.cacheconfig.

Unless an absolute or relative path is specified, such as with ./path/to/config.xml, the application's classpath will be used to find the specified descriptor.

The content override attribute xml-override can be optionally used to fully or partially override the contents of this element with XML document that is external to the base document.