Class ConcurrentConverterLookup

  • All Implemented Interfaces:
    com.thoughtworks.xstream.converters.ConverterLookup, com.thoughtworks.xstream.converters.ConverterRegistry

    public class ConcurrentConverterLookup
    extends java.lang.Object
    implements com.thoughtworks.xstream.converters.ConverterLookup, com.thoughtworks.xstream.converters.ConverterRegistry
    Same as the DefaultCOnverterLookup from XStream except it uses a COncurrentHashMap for better multi threaded performance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.thoughtworks.xstream.converters.Converter lookupConverterForType​(java.lang.Class type)
      void registerConverter​(com.thoughtworks.xstream.converters.Converter converter, int priority)
      • Methods inherited from class java.lang.Object

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

      • ConcurrentConverterLookup

        public ConcurrentConverterLookup()
    • Method Detail

      • lookupConverterForType

        public com.thoughtworks.xstream.converters.Converter lookupConverterForType​(java.lang.Class type)
        Specified by:
        lookupConverterForType in interface com.thoughtworks.xstream.converters.ConverterLookup
      • registerConverter

        public void registerConverter​(com.thoughtworks.xstream.converters.Converter converter,
                                      int priority)
        Specified by:
        registerConverter in interface com.thoughtworks.xstream.converters.ConverterRegistry