When persistence of multiple JRuby runtime is involved, the caller can provide an implementation
of this interface to (1) write out enough keys to reconnect back to the right runtime, and (2)
read those info and actually resolve the instance of Ruby.