RegistryShutdownHub shutdownHub,
ObjectLocator locator)
{
MultipartDecoderImpl multipartDecoder = locator.autobuild(MultipartDecoderImpl.class);
// This is proabably overkill since the FileCleaner should catch temporary files, but lets
// be safe.
threadCleanupHub.addThreadCleanupListener(multipartDecoder);