vert-x/vert.x — pull request #421 by jdonnerstag (2012-11-10 15:07:47+00:00)
Title: Remove Context singleton

static Context is a Singleton thus causing side effect during testing but more importantly, if more than one Vertx instance is running on one VM. The proposed change moves the threadlocal from Context into vertx (without static; no more singleton), which is already forwarded to almost all all major components and hence required only little changes. Most changes look like Context.getContext() => vertx.getContext().

All junit tests successfully passed.

Juergen