BusApplicationContext context = bus.getExtension(BusApplicationContext.clsss);

should do it...

cheers, Sergey


Is there any way to get spring bean defined in the context that is bus
context?

After bus is constructed Bus bus = new SpringBusFactory().createBus("cxf.xml"); BusFactory.setDefaultBus(bus);
i probably can't read cxf.xml as spring context because the bus will be
instantiated second time, correct?

Is there a way to get my bean from the Bus?

--
View this message in context: 
http://www.nabble.com/Getting-beans-from-bus-context-tp24460005p24460005.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to