Class XMLStringConfiguration

  • All Implemented Interfaces:
    BasicConfiguration

    public class XMLStringConfiguration
    extends Object
    implements BasicConfiguration
    A simple wrapper for an XML configuration represented as a String.
    Since:
    9.2
    Author:
    Tristan Tarrant
    • Constructor Detail

      • XMLStringConfiguration

        public XMLStringConfiguration​(String xml)
    • Method Detail

      • toXMLString

        public String toXMLString​(String name)
        Description copied from interface: BasicConfiguration
        Converts this configuration to its XML representation. The name of the configuration in the XML will be the one supplied in the argument.
        Specified by:
        toXMLString in interface BasicConfiguration
        Returns:
        a String containing the XML representation of an Infinispan configuration using the Infinispan schema.