}
private void checkTransportFactories(Bus bus) throws BusException {
DestinationFactoryManager dfm = bus.getExtension(DestinationFactoryManager.class);
assertNotNull("No destination factory manager", dfm);
ConduitInitiatorManager cim = bus.getExtension(ConduitInitiatorManager.class);
assertNotNull("No conduit initiator manager", cim);
try {
cim.getConduitInitiator("http://cxf.apache.org/unknown");
} catch (BusException ex) {
// expected
}
try {
dfm.getDestinationFactory("http://cxf.apache.org/unknown");
} catch (BusException ex) {
// expected
}
// not sure that we need this - Dan Diephouse
//assertNotNull("conduit initiator not available",
//cim.getConduitInitiator("http://schemas.xmlsoap.org/wsdl/soap/"));
assertNotNull("conduit initiator not available",
cim.getConduitInitiator("http://cxf.apache.org/transports/http"));
assertNotNull("conduit initiator not available",
cim.getConduitInitiator("http://cxf.apache.org/transports/jms"));
assertNotNull("conduit initiator not available",
cim.getConduitInitiator("http://cxf.apache.org/transports/jms/configuration"));
assertNotNull("destination factory not available",
dfm.getDestinationFactory("http://cxf.apache.org/transports/http"));