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

Support XML marshaling of Configuration instances

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

XMLWordPrintable

      Infinispan supports a very flexible way of configuring caches using multiple levels of inheritance.
      While this is really nice, it is sometimes not easy to understand how exactly a particular cache was configured.
      (E.g. JPA is just one example where a cache configuration can be adjusted in several ways).

      JMX or debuggers help but may not always be available.

      What about allowing to convert a configuration instance back to XML to give a quick overview of the really applied settings. (Optionally it might also be a nice little feature to implement a "toXmlString();" method or override the default and also make this available through JMX)

      JAXB annotations are already present on all configurable options but a couple getters and a @XmlRootElement annotation is missing that would allow to convert an existing instance back to XML. The effort in doing this should be rather low.


      This feature request may also fit with #ISPN-791 as it would allow to transfer cache configs using XML.

              jkellerer Jürgen Kellerer (Inactive)
              jkellerer Jürgen Kellerer (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h