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

Some DefaultCacheManager constructors still performing legacy configuration adaptation

XMLWordPrintable

    • Compatibility/Configuration
    • Workaround Exists
    • Hide

      Use
      public DefaultCacheManager(GlobalConfiguration globalConfiguration, Configuration configuration)
      or
      public DefaultCacheManager(GlobalConfiguration globalConfiguration, Configuration configuration, boolean start)

      constructor variant passing in null for the "configuration" parameter.

      Show
      Use public DefaultCacheManager(GlobalConfiguration globalConfiguration, Configuration configuration) or public DefaultCacheManager(GlobalConfiguration globalConfiguration, Configuration configuration, boolean start) constructor variant passing in null for the "configuration" parameter.

      e.g.
      public DefaultCacheManager(GlobalConfiguration globalConfiguration, boolean start)
      public DefaultCacheManager(GlobalConfiguration globalConfiguration)

      This causes some properties to get lost, e.g. classloader

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: