Package org.pentaho.reporting.libraries.resourceloader.cache

Examples of org.pentaho.reporting.libraries.resourceloader.cache.ResourceBundleDataCacheProvider


  public void registerBundleDataCache()
  {
    try
    {
      final ObjectFactory objectFactory = LibLoaderBoot.getInstance().getObjectFactory();
      final ResourceBundleDataCacheProvider maybeDataCacheProvider = objectFactory.get(ResourceBundleDataCacheProvider.class);
      final ResourceBundleDataCache cache = maybeDataCacheProvider.createBundleDataCache();
      if (cache != null)
      {
        setBundleCache(cache);
      }
    }
View Full Code Here


    if (maybeDataCacheProvider == null)
    {
      return;
    }
   
    final ResourceBundleDataCacheProvider provider = (ResourceBundleDataCacheProvider) maybeDataCacheProvider;
    try
      {
        final ResourceBundleDataCache cache = provider.createBundleDataCache();
      if (cache != null)
      {
        setBundleCache(cache);
      }
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.resourceloader.cache.ResourceBundleDataCacheProvider

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.