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

Configuration issue with CacheLoader

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              manik_jira Manik Surtani (Inactive)
              mircea.markus Mircea Markus (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: