protected void initializeGrinderContext() {
		this.threadContextInitializer = new JUnitThreadContextInitializer();
		this.threadContextInitializer.initialize();
		this.threadContextUpdater = threadContextInitializer.getThreadContextUpdater();
		this.finalPerThreadStatement = new PerThreadStatement() {
			@Override
			void before() {
				attachWorker();
			}

			@Override
			void after() {
				detachWorker();
			}
		};
	}
Constructor.

@param klass  klass
@param runner runner class
@throws InitializationError class initialization error.
ngrinder-groovy/src/main/java/net/grinder/scriptengine/groovy/junit/GrinderRunner.java