public void registerComponents ( XStream xstream ) { for ( Converter converter : converters ) { xstream . registerConverter ( converter ) ; logger . debug ( "registered Xstream converter for {}" , converter . getClass ( ) . getName ( ) ) ; } for ( SingleValueConverter converter : singleValueConverters ) { xstream . registerConverter ( converter ) ; logger . debug ( "registered Xstream converter for {}" , converter . getClass ( ) . getName ( ) ) ; } }
Method used to register all the XStream converters scanned to a XStream instance