1 package org
.argeo
.internal
.init
;
3 import org
.argeo
.api
.init
.RuntimeContext
;
6 * Keep track of the internal state mostly with static variables, typically in
7 * order to synchronise shutdown.
9 public class InternalState
{
10 private static RuntimeContext mainRuntimeContext
;
12 /** The root runtime context in this JVM. */
13 public static RuntimeContext
getMainRuntimeContext() {
14 return mainRuntimeContext
;
17 public static void setMainRuntimeContext(RuntimeContext mainRuntimeContext
) {
18 InternalState
.mainRuntimeContext
= mainRuntimeContext
;