Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2135

Configuration issue with CacheLoader

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 5.2.0.Final
    • 5.1.5.FINAL
    • Loaders and Stores
    • None

      When passing a cache loader instance to the cache loader configuration builder it's not the instance that's used, instead the class info is fetched from it and it is instantiated through reflection. This is not good, as it doesn't allow programmatic configuration of that instance and is counter intuitive.
      There is a comment on the code that it needs to be fixed, but couldn't find any related jiras: https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/configuration/cache/LoaderConfigurationBuilder.java#L51-54

              manik_jira Manik Surtani (Inactive)
              mircea.markus Mircea Markus (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: