mx4j/src/tools/mx4j/tools/remote/resolver/hessian Resolver.java,NONE,1.1 HESSIANResolver.java,1.3,NONE

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

Added Files:
	Resolver.java 
Removed Files:
	HESSIANResolver.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

--- NEW FILE: Resolver.java ---
/*
 * Copyright (C) The MX4J Contributors.
 * All rights reserved.
 *
 * This software is distributed under the terms of the MX4J License version 1.0.
 * See the terms of the MX4J License in the documentation provided with this software.
 */

package mx4j.tools.remote.resolver.hessian;

import java.io.IOException;
import java.util.Map;

import javax.management.remote.JMXServiceURL;

import mx4j.tools.remote.caucho.hessian.HessianClientInvoker;
import mx4j.tools.remote.caucho.hessian.HessianServlet;
import mx4j.tools.remote.http.HTTPResolver;

/**
 * @version $Revision: 1.1 $
 */
public class Resolver extends HTTPResolver
{
   public Object lookupClient(JMXServiceURL url, Map environment) throws IOException
   {
      String endpoint = getEndpoint(url, environment);
      return new HessianClientInvoker(endpoint);
   }

   protected String getServletClassName()
   {
      return HessianServlet.class.getName();
   }
}

--- HESSIANResolver.java DELETED ---



-------------------------------------------------------
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