KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > tools > remote > resolver > hessian > ssl > Resolver


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.tools.remote.resolver.hessian.ssl;
10
11 import java.util.Map JavaDoc;
12
13 import mx4j.tools.remote.caucho.hessian.SSLHessianServlet;
14
15 /**
16  * @version $Revision: 1.1 $
17  */

18 public class Resolver extends mx4j.tools.remote.resolver.hessian.Resolver
19 {
20    protected String JavaDoc getEndpointProtocol(Map JavaDoc environment)
21    {
22       return "https";
23    }
24
25    protected String JavaDoc getServletClassName()
26    {
27       return SSLHessianServlet.class.getName();
28    }
29 }
30
Popular Tags