Interface BasicConfiguration

All Known Implementing Classes:
StringConfiguration, XMLStringConfiguration

public interface BasicConfiguration
BasicConfiguration provides the basis for concrete configurations.
Since:
9.2
Author:
Tristan Tarrant
  • Method Summary

    Modifier and Type
    Method
    Description
    Converts this configuration to a string-based representation.
    default String
    Deprecated, for removal: This API element is subject to removal in a future version.
    default String
    Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • toXMLString

      @Deprecated(forRemoval=true) default String toXMLString()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toXMLString

      @Deprecated(forRemoval=true) default String toXMLString(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Converts this configuration to its XML representation. The name of the configuration in the XML will be the one supplied in the argument.
      Returns:
      a String containing the XML representation of an Infinispan configuration using the Infinispan schema.
    • toStringConfiguration

      String toStringConfiguration(String name)
      Converts this configuration to a string-based representation. The name of the configuration in the will be the one supplied in the argument. The string must be in one of the supported formats (XML, JSON, YAML).
      Returns:
      a String containing the representation of an Infinispan configuration using the Infinispan schema in one of the supported formats (XML, JSON, YAML).