reta commented on a change in pull request #908:
URL: https://github.com/apache/cxf/pull/908#discussion_r807472130



##########
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:
       There are a few options, the `bus` instance should be taken from 
somewhere, for example if we bring constructor back, we need to introduce 
`setBus(Bus b)` method which has to be called, not ideal but a solution 
nonetheless.
   
   Another option - use the bus from the thread local context using 
BusFactory::getThreadDefaultBus, the caller context should make sure it is set. 




-- 
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]


Reply via email to