1 8 9 package mx4j.tools.remote.resolver.burlap; 10 11 import java.io.IOException ; 12 import java.util.Map ; 13 14 import javax.management.remote.JMXServiceURL ; 15 16 import mx4j.tools.remote.caucho.burlap.BurlapClientInvoker; 17 import mx4j.tools.remote.caucho.burlap.BurlapServlet; 18 import mx4j.tools.remote.http.HTTPResolver; 19 20 23 public class Resolver extends HTTPResolver 24 { 25 public Object lookupClient(JMXServiceURL url, Map environment) throws IOException 26 { 27 String endpoint = getEndpoint(url, environment); 28 return new BurlapClientInvoker(endpoint); 29 } 30 31 protected String getServletClassName() 32 { 33 return BurlapServlet.class.getName(); 34 } 35 } 36 | Popular Tags |