Resource.destroy implemented for ApplicationContextHolder