code: public static void cleanup ()
    {
      if (MimeTypeInfoManager.isDefaultInstantiated ())
        MimeTypeInfoManager.getDefaultInstance ().reinitializeToDefault ();
      if (MicroTypeConverterRegistry.isInstantiated ())
        MicroTypeConverterRegistry.getInstance ().reinitialize ();
      if (XMLSchemaCache.isInstantiated ())
        XMLSchemaCache.getInstance ().clearCache ();
      XMLSchemaCache.clearPerClassLoaderCache ();
    }
docs: Cleanup all custom caches contained in this library. Loaded SPI
  implementations are not affected by this method!