FileDocCategorySizeDatePackage
ServerConnectionEnvironment.javaAPI DocGlassfish v2 API3670Fri May 04 22:34:36 BST 2007com.sun.enterprise.deployment.client

ServerConnectionEnvironment

public final class ServerConnectionEnvironment extends HashMap
This class defines the additional environment needed to connect to a particular application server deployment backend. For now, the properties supported are specific to jmx https connector. We will extend it to support jmx rmi connector when the jmx implementation is ready.
Environment supported in this class are defined by the JMX connectors.
see
also com.sun.enterprise.admin.jmx.remote.DefaultConfiguration
For example, to set a client trust manager, the key of env shall be DefaultConfiguration.TRUST_MANAGER_PROPERTY_NAME.
author
Qingqing Ouyang

Fields Summary
Constructors Summary
public ServerConnectionEnvironment()
Creates a new instance of ServerConnectionEnvironment

        super();
    
public ServerConnectionEnvironment(Map env)
Creates a new instance of ServerConnectionEnvironment

        super(env);
    
Methods Summary
public java.lang.StringtoString()

        StringBuffer buf = new StringBuffer();
        buf.append("ServerConnectionEnvironments: \n");
        Iterator entries = entrySet().iterator();
        while (entries.hasNext()) {
            Map.Entry entry = (Map.Entry) entries.next();
            buf.append("Key = " + entry.getKey());
            buf.append("    ");
            buf.append("Value = " + entry.getValue());
            buf.append(";\n");
        }

        return buf.toString();