ehcache

net.sf.ehcache.config.generator
Class ConfigurationGenerator

java.lang.Object
  extended by net.sf.ehcache.config.generator.ConfigurationGenerator

Deprecated. Use ConfigurationUtil.generateCacheManagerConfigurationText(Configuration) or ConfigurationUtil#generateCacheConfigurationText(CacheConfiguration) instead

@Deprecated
public class ConfigurationGenerator
extends Object

Utility class for generating configuration texts.

Author:
Abhishek Sanoujam

Constructor Summary
ConfigurationGenerator()
          Deprecated.  
 
Method Summary
 String generate(Configuration configuration, CacheConfiguration cacheConfiguration)
          Deprecated. use appropriate methods in ConfigurationUtil instead
 String generate(Configuration configuration, CacheConfiguration defaultCacheConfiguration, Map<String,CacheConfiguration> cacheConfigs)
          Deprecated. use appropriate methods in ConfigurationUtil instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationGenerator

public ConfigurationGenerator()
Deprecated. 
Method Detail

generate

@Deprecated
public String generate(Configuration configuration,
                                  CacheConfiguration defaultCacheConfiguration,
                                  Map<String,CacheConfiguration> cacheConfigs)
Deprecated. use appropriate methods in ConfigurationUtil instead

Generates the configuration text for the provided Configuration, the default CacheConfiguration and the map of CacheConfiguration's

Parameters:
configuration -
defaultCacheConfiguration -
cacheConfigs -
Returns:
String equivalent to an ehcache.xml for the input parameters

generate

@Deprecated
public String generate(Configuration configuration,
                                  CacheConfiguration cacheConfiguration)
Deprecated. use appropriate methods in ConfigurationUtil instead

Generates configuration text for a specific cache using the input CacheConfiguration

Parameters:
cacheConfiguration -
Returns:
String containing configuration for the input CacheConfiguration

ehcache

Copyright 2001-2016, Terracotta, Inc.