Skip to content

Commit

Permalink
Fix for CXF interceptors not being called in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
shumonsharif authored and dufoli committed Feb 12, 2021
1 parent e638dbf commit 50d4a68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private void addToCols(String className, List<Interceptor<? extends Message>> co
private <T> void addToCols(String className, List<T> cols, Class<T> clazz) {
Class<? extends T> cls;
try {
cls = Class.forName(className).asSubclass(clazz);
cls = Class.forName(className, false, Thread.currentThread().getContextClassLoader()).asSubclass(clazz);
} catch (ClassNotFoundException | ClassCastException e) {
// silent failed
return;
Expand Down

0 comments on commit 50d4a68

Please sign in to comment.