This was just copied straight from the old ExternalMBean service. In a sane world any method named 'close' is probably going to break the cached context anyway, so we should dissalow it.