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

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


  public void registerDataCache()
  {
    try
    {
      final ObjectFactory objectFactory = LibLoaderBoot.getInstance().getObjectFactory();
      final ResourceDataCacheProvider maybeDataCacheProvider = objectFactory.get(ResourceDataCacheProvider.class);
      final ResourceDataCache cache = maybeDataCacheProvider.createDataCache();
      if (cache != null)
      {
        setDataCache(cache);
      }
    }
View Full Code Here


    final Object maybeDataCacheProvider =
        ObjectUtilities.loadAndInstantiate
            (dataCacheProviderClass, ResourceManager.class, ResourceDataCacheProvider.class);
    if (maybeDataCacheProvider instanceof ResourceDataCacheProvider)
    {
      final ResourceDataCacheProvider provider = (ResourceDataCacheProvider) maybeDataCacheProvider;
      try
      {
        final ResourceDataCache cache = provider.createDataCache();
        if (cache != null)
        {
          setDataCache(cache);
        }
      }
View Full Code Here

TOP

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

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.