A "run-time context class" is simply the owner class created by the top level of your program, which contains all the things (for example, the Transaction object in the linked example) from the top level that you might need.
This is a packaged way to avoid global variables.
, , A, B, C, D, , A, B C, .
, - A, B C , . .
: : ExecutionContext javax.resource.spi.work(http://www.j2ee.me/j2ee/1.4/docs/api/javax/resource/spi/work/ExecutionContext.html), , - .