mx4j/src/tools/mx4j/tools/remote/soap SOAPConnector.java,1.15,1.16

[email protected]
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/tools/mx4j/tools/remote/soap
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29803/tools/mx4j/tools/remote/soap

Modified Files:
	SOAPConnector.java 
Log Message:
Fix for bug #907629: now using the same classloader mechanism of the provider to lookup the resolver

Index: SOAPConnector.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/tools/mx4j/tools/remote/soap/SOAPConnector.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** SOAPConnector.java	25 Feb 2004 13:47:31 -0000	1.15
--- SOAPConnector.java	1 Mar 2004 18:04:17 -0000	1.16
***************
*** 42,46 ****
        JMXServiceURL address = getAddress();
        String protocol = address.getProtocol();
!       ConnectionResolver resolver = ConnectionResolver.getInstance(protocol);
        if (resolver == null) throw new MalformedURLException("Unsupported protocol: " + protocol);
  
--- 42,46 ----
        JMXServiceURL address = getAddress();
        String protocol = address.getProtocol();
!       ConnectionResolver resolver = ConnectionResolver.newConnectionResolver(protocol, environment);
        if (resolver == null) throw new MalformedURLException("Unsupported protocol: " + protocol);
  



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.