mx4j/src/core/mx4j/remote ConnectionResolver.java,1.5,1.6

Simone Bordet <[email protected]> Wed, 16 Feb 2005 15:28:41 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/mx4j/remote
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20952/src/core/mx4j/remote

Modified Files:
	ConnectionResolver.java 
Log Message:
+ Refactored the ConnectionResolver "framework", to support protocols containing the "+" character, as in soap+ssl.
+ Renamed classes from <PROTOCOL>Resolver to Resolver
+ Added SSL specific classes for hessian, burlap and soap protocols
+ Removed unnecessary classes

Index: ConnectionResolver.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/mx4j/remote/ConnectionResolver.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ConnectionResolver.java	13 Nov 2004 16:38:20 -0000	1.5
--- ConnectionResolver.java	16 Feb 2005 15:28:38 -0000	1.6
***************
*** 12,15 ****
--- 12,16 ----
  import java.util.Map;
  import java.util.StringTokenizer;
+ 
  import javax.management.remote.JMXConnectorServerFactory;
  import javax.management.remote.JMXServiceURL;
***************
*** 22,27 ****
   * one specified by {@link javax.management.remote.JMXConnectorFactory}. Here a subclass
   * has a fully qualified name specified like this:
!  * <package>.resolver.<protocol>.<PROTOCOL>Resolver, for example
!  * {@link mx4j.remote.resolver.rmi.RMIResolver}
   * This class is used from both the client and the server.
   * The former uses it to lookup stubs or connections to the server side; the latter uses it
--- 23,28 ----
   * one specified by {@link javax.management.remote.JMXConnectorFactory}. Here a subclass
   * has a fully qualified name specified like this:
!  * <package>.resolver.<protocol>.Resolver, for example
!  * {@link mx4j.remote.resolver.rmi.Resolver}
   * This class is used from both the client and the server.
   * The former uses it to lookup stubs or connections to the server side; the latter uses it
***************
*** 77,82 ****
           if (pkg.length() == 0) continue;
  
!          String className = protocol.toUpperCase() + MX4JRemoteConstants.RESOLVER_CLASS;
!          String resolverClassName = constructClassName(pkg, protocol, className);
  
           Class resolverClass = null;
--- 78,82 ----
           if (pkg.length() == 0) continue;
  
!          String resolverClassName = constructClassName(pkg, protocol, MX4JRemoteConstants.RESOLVER_CLASS);
  
           Class resolverClass = null;



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click