Class JsonCustomFactory

  • All Implemented Interfaces:

    public class JsonCustomFactory
    extends org.infinispan.commons.configuration.Json.DefaultFactory
    Custom Json.Factory to handle cache attribute values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.infinispan.commons.configuration.Json make​(java.lang.Object anything)
      Construct and return a JSON object.
      • Methods inherited from class org.infinispan.commons.configuration.Json.DefaultFactory

        array, bool, nil, number, object, string
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonCustomFactory

        public JsonCustomFactory()
    • Method Detail

      • make

        public org.infinispan.commons.configuration.Json make​(java.lang.Object anything)
        Description copied from interface: org.infinispan.commons.configuration.Json.Factory
        Construct and return a JSON object. The resulting value can be of any JSON type. The method is responsible for examining the type of its argument and performing an appropriate mapping to a Json instance.
        Specified by:
        make in interface org.infinispan.commons.configuration.Json.Factory
        make in class org.infinispan.commons.configuration.Json.DefaultFactory
        anything - An arbitray Java object from which to construct a Json element.
        The newly constructed Json instance.