diff --git a/src/main/java/org/usf/jquery/web/ContextManager.java b/src/main/java/org/usf/jquery/web/ContextManager.java index 220f825..b473a3e 100644 --- a/src/main/java/org/usf/jquery/web/ContextManager.java +++ b/src/main/java/org/usf/jquery/web/ContextManager.java @@ -53,7 +53,7 @@ public static ContextEnvironment currentContext() { : new IllegalStateException("no database selected"); } - static ContextEnvironment context(String database){ + public static ContextEnvironment context(String database){ var ctx = CONTEXTS.get(database); if(nonNull(ctx)) { return setCurrentContext(new ContextEnvironment(ctx)); @@ -66,7 +66,7 @@ static ContextEnvironment setCurrentContext(ContextEnvironment ctx) { return ctx; } - static void releaseContext() { + public static void releaseContext() { CURRENT.remove(); } }