Skip to content

Commit 04f083a

Browse files
committed
Add missing classLoader setter
1 parent 5206d6a commit 04f083a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/coditory/quark/context/ContextBuilder.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ public ContextBuilder setEventBusExceptionHandler(@NotNull DispatchExceptionHand
8585
return this;
8686
}
8787

88+
@NotNull
89+
public ContextBuilder setClassLoader(@NotNull ClassLoader classLoader) {
90+
expectUninitialized();
91+
expectNonNull(classLoader, "classLoader");
92+
this.classLoader = classLoader;
93+
return this;
94+
}
95+
8896
@NotNull
8997
public ContextBuilder registerConfigurationBeans() {
9098
return registerConfigurationBeans(true);

0 commit comments

Comments
 (0)