Skip to content

Commit

Permalink
Add missing classLoader setter
Browse files Browse the repository at this point in the history
  • Loading branch information
pmendelski committed Nov 10, 2022
1 parent 5206d6a commit 04f083a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/com/coditory/quark/context/ContextBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ public ContextBuilder setEventBusExceptionHandler(@NotNull DispatchExceptionHand
return this;
}

@NotNull
public ContextBuilder setClassLoader(@NotNull ClassLoader classLoader) {
expectUninitialized();
expectNonNull(classLoader, "classLoader");
this.classLoader = classLoader;
return this;
}

@NotNull
public ContextBuilder registerConfigurationBeans() {
return registerConfigurationBeans(true);
Expand Down

0 comments on commit 04f083a

Please sign in to comment.