reta commented on a change in pull request #908:
URL: https://github.com/apache/cxf/pull/908#discussion_r809987771
##########
File path:
rt/frontend/simple/src/main/java/org/apache/cxf/endpoint/dynamic/TypeClassInitializer.java
##########
@@ -50,6 +50,15 @@
boolean isFault;
Bus bus;
+ @Deprecated // CXF-8658
+ public TypeClassInitializer(ServiceInfo serviceInfo,
Review comment:
Correct, the `bus` is to lookup extensions (there is a chain of them).
In the nutshell, whatever the fallback logic we come up with, it should lead to
the equivalent of previously used `new
ExceptionCreator()).createExceptionClass(cls);`. Creating the default `bus` is
the simplest way to get there (not elegant but ...) since it will be
initialized with extensions we need by default.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]