Searched defs:hostName (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DPrincipalImpl.java63 * @param hostName the host used to make the principal.
65 public PrincipalImpl(String hostName) throws UnknownHostException { argument
66 if ((hostName.equals("localhost")) || (hostName.equals("127.0.0.1"))) {
68 add[0] = java.net.InetAddress.getByName(hostName);
71 add = java.net.InetAddress.getAllByName( hostName );
/openjdk7/jdk/src/share/classes/java/net/
H A DInet4Address.java105 holder().hostName = null;
110 Inet4Address(String hostName, byte addr[]) { argument
111 holder().hostName = hostName;
123 Inet4Address(String hostName, int address) { argument
124 holder().hostName = hostName;
140 inet.holder().hostName = holder().getHostName();
H A DInet6Address.java216 holder().hostName = null;
224 Inet6Address(String hostName, byte addr[], int scope_id) { argument
225 holder().hostName = hostName;
236 Inet6Address(String hostName, byte addr[]) { argument
238 initif (hostName, addr, null);
242 Inet6Address (String hostName, byte addr[], NetworkInterface nif) throws UnknownHostException { argument
243 initif (hostName, addr, nif);
246 Inet6Address (String hostName, byte addr[], String ifname) throws UnknownHostException { argument
247 initstr (hostName, add
315 initstr(String hostName, byte addr[], String ifname) argument
327 initif(String hostName, byte addr[],NetworkInterface nif) argument
[all...]
H A DInetAddress.java210 InetAddressHolder(String hostName, int address, int family) { argument
211 this.hostName = hostName;
216 String hostName; field in class:InetAddress.InetAddressHolder
219 return hostName;
525 holder().hostName = InetAddress.getHostFromNameService(this, check);
690 String hostName = holder().getHostName();
691 return ((hostName != null) ? hostName : "")
1567 String host = (String)gf.get("hostName", nul
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DKrb5NameElement.java115 String hostName = null;
118 hostName = components[1];
120 String principal = getHostBasedInstance(service, hostName);
162 String hostName = gssNameStr.substring(separatorPos+1);
163 retVal = new String[] { serviceName, hostName};
173 String hostName)
181 if (hostName == null)
182 hostName = InetAddress.getLocalHost().getHostName();
187 hostName = hostName
172 getHostBasedInstance(String serviceName, String hostName) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DVMPanel.java50 private String hostName; field in class:VMPanel
98 this.hostName = proxyClient.getHostName();
608 return hostName;
H A DJConsole.java327 String hostName = "";
330 hostName = vmPanel.getHostName();
334 showConnectDialog(url, hostName, 0, null, null, null);
470 void addHost(String hostName, int port, argument
472 addHost(hostName, port, userName, password, false);
518 void addHost(final String hostName, final int port, argument
524 addProxyClient(ProxyClient.getProxyClient(hostName, port,
531 showConnectDialog(null, hostName, port,
610 String hostName,
619 hostName,
609 showConnectDialog(String url, String hostName, int port, String userName, String password, String msg) argument
[all...]
H A DProxyClient.java61 private String hostName = null; field in class:ProxyClient
109 private ProxyClient(String hostName, int port, argument
111 this.connectionName = getConnectionName(hostName, port, userName);
113 if (hostName.equals("localhost") && port == 0) {
115 this.hostName = hostName;
120 final String urlPath = "/jndi/rmi://" + hostName + ":" + port +
125 registryHostName = hostName;
147 this.hostName = jmxUrl.getHost();
324 if (jmxUrl == null && "localhost".equals(hostName)
477 getProxyClient(String hostName, int port, String userName, String password) argument
489 getConnectionName(String hostName, int port, String userName) argument
499 getCacheKey(String hostName, int port, String userName, String password) argument
[all...]

Completed in 283 milliseconds