Replace DiskResourceAutoBeanFactory.INSTANCE with local instance