public BasicConnectionFactory createConnectionFactory() throws ResourceException {
QName portQName = SforceService.SERVICE;
if (this.configFile != null) {
this.bus = new SpringBusFactory().createBus(this.configFile);
JaxWsClientFactoryBean instance = new JaxWsClientFactoryBean();
Configurer configurer = this.bus.getExtension(Configurer.class);
if (null != configurer) {
configurer.configureBean(portQName.toString() + ".jaxws-client.proxyFactory", instance); //$NON-NLS-1$
}
}
return new BasicConnectionFactory() {
private static final long serialVersionUID = 5028356110047329135L;