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