Package net.sf.ehcache.config

Examples of net.sf.ehcache.config.ConfigurationHelper


            localConfiguration = parseConfiguration(configurationFileName, configurationURL, configurationInputStream);
        } else {
            localConfiguration.setSource("Programmatically configured.");
        }

        ConfigurationHelper configurationHelper = new ConfigurationHelper(this, localConfiguration);
        configure(configurationHelper);
        status = Status.STATUS_ALIVE;
        if (cacheManagerPeerProvider != null) {
            cacheManagerPeerProvider.init();
        }
View Full Code Here


        } else {
          configuration.addCache(conf);
        }
      }
      //instance the helper
      ConfigurationHelper helper = new ConfigurationHelper(cm, configuration);
      //create the default cache
      cache = helper.createDefaultCache();
      //init the default
      cache.initialise();
      cache.bootstrap();     
      //create the un-init'd caches
      Set<Cache> caches = helper.createCaches();
      if (log.isDebugEnabled()) {
        log.debug("Number of caches: " + caches.size() + " Default cache: " + (cache != null ? 1 : 0));
      }
      for (Cache cache : caches) {
        cache.initialise();
View Full Code Here

            localConfiguration = parseConfiguration(configurationFileName, configurationURL, configurationInputStream);
        } else {
            localConfiguration.setSource("Programmatically configured.");
        }

        ConfigurationHelper configurationHelper = new ConfigurationHelper(this, localConfiguration);
        configure(configurationHelper);
        status = Status.STATUS_ALIVE;

        for (CacheManagerPeerProvider cacheManagerPeerProvider : cacheManagerPeerProviders.values()) {
            cacheManagerPeerProvider.init();
View Full Code Here

        }

        TransactionIDFactory transactionIDFactory = createTransactionIDFactory();
        this.transactionController = new TransactionController(transactionIDFactory, configuration.getDefaultTransactionTimeoutInSeconds());

        ConfigurationHelper configurationHelper = new ConfigurationHelper(this, localConfiguration);
        configure(configurationHelper);
        status = Status.STATUS_ALIVE;

        for (CacheManagerPeerProvider cacheManagerPeerProvider : cacheManagerPeerProviders.values()) {
            cacheManagerPeerProvider.init();
View Full Code Here

TOP

Related Classes of net.sf.ehcache.config.ConfigurationHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.