1 23 24 29 30 package com.sun.enterprise.admin.jmx.remote.protocol.s1ashttp; 31 32 import java.util.Map ; 33 import java.io.IOException ; 34 35 import javax.management.remote.JMXConnectorProvider ; 36 import javax.management.remote.JMXConnector ; 37 import javax.management.remote.JMXServiceURL ; 38 39 import com.sun.enterprise.admin.jmx.remote.internal.UrlConnectorFactory; 40 41 49 50 public class ClientProvider implements JMXConnectorProvider { 51 52 56 public ClientProvider() { 57 } 58 59 public JMXConnector newJMXConnector(JMXServiceURL serviceURL, Map environment) 60 throws IOException { 61 return ( UrlConnectorFactory.getHttpConnector(serviceURL, environment) ); 62 } 63 } | Popular Tags |