FileDocCategorySizeDatePackage
UrlConnectorFactory.javaAPI DocGlassfish v2 API3160Fri May 04 22:36:24 BST 2007com.sun.enterprise.admin.jmx.remote.internal

UrlConnectorFactory

public class UrlConnectorFactory extends Object
A factory to create instances of various UrlConnectors depending upon the JMXServiceUrl and environment provided.
author
Kedar Mhaswade
since
S1AS8.0
version
1.0

Fields Summary
Constructors Summary
private UrlConnectorFactory()

    
Methods Summary
public static com.sun.enterprise.admin.jmx.remote.UrlConnectorgetHttpConnector(javax.management.remote.JMXServiceURL url, java.util.Map env)
Returns the UrlConnector instance appropriately.

param
url instance of JMXServiceURL
param
env map specifying name value pairs

        return new HttpUrlConnector(url, env);
    
public static com.sun.enterprise.admin.jmx.remote.UrlConnectorgetHttpsConnector(javax.management.remote.JMXServiceURL url, java.util.Map env)

		return new HttpsUrlConnector(url, env);