1 23 24 package com.sun.enterprise.deployment.client; 25 26 import com.sun.enterprise.admin.jmx.remote.DefaultConfiguration; 27 import java.util.HashMap ; 28 import java.util.Map ; 29 import java.util.Map.Entry; 30 import java.util.Set ; 31 import java.util.Iterator ; 32 33 49 public final class ServerConnectionEnvironment extends HashMap { 50 51 54 public ServerConnectionEnvironment() { 55 super(); 56 } 57 58 61 public ServerConnectionEnvironment(Map env) { 62 super(env); 63 } 64 65 public String toString() { 66 StringBuffer buf = new StringBuffer (); 67 buf.append("ServerConnectionEnvironments: \n"); 68 Iterator entries = entrySet().iterator(); 69 while (entries.hasNext()) { 70 Map.Entry entry = (Map.Entry ) entries.next(); 71 buf.append("Key = " + entry.getKey()); 72 buf.append(" "); 73 buf.append("Value = " + entry.getValue()); 74 buf.append(";\n"); 75 } 76 77 return buf.toString(); 78 } 79 } 80 | Popular Tags |