configName = WSConnectionImpl.DEFAULT_LOCAL_NAME;
}
this.portQName = new QName(WSConnectionImpl.DEFAULT_NAMESPACE_URI, configName);
if (configFile != null) {
bus = new SpringBusFactory().createBus(configFile);
JaxWsClientFactoryBean instance = new JaxWsClientFactoryBean();
Configurer configurer = bus.getExtension(Configurer.class);
if (null != configurer) {
configurer.configureBean(portQName.toString() + ".jaxws-client.proxyFactory", instance); //$NON-NLS-1$
}
outInterceptors = instance.getOutInterceptors();
}
return new BasicConnectionFactory() {
@Override
public BasicConnection getConnection() throws ResourceException {
return new WSConnectionImpl(WSManagedConnectionFactory.this);