1 6 7 package com.quikj.application.communicator.admin.controller; 8 9 import java.net.*; 10 11 15 public class RemoteAccessParams 16 { 17 18 19 private String url = "rmi://localhost:1099"; 20 21 22 private String host; 23 24 25 private String httpsServiceName = "AceHTTPSRemoteAccess"; 26 27 28 public RemoteAccessParams() 29 { 30 try 31 { 32 host = InetAddress.getLocalHost().getHostName(); 33 } 34 catch (UnknownHostException ex) 35 { 36 host = "localhost"; 37 } 38 } 39 40 44 public String getUrl() 45 { 46 return this.url; 47 } 48 49 53 public void setUrl(String url) 54 { 55 this.url = url; 56 } 57 58 62 public String getHost() 63 { 64 return this.host; 65 } 66 67 71 public void setHost(String host) 72 { 73 this.host = host; 74 } 75 76 80 public String getHttpsServiceName() 81 { 82 return this.httpsServiceName; 83 } 84 85 89 public void setHttpsServiceName(String httpsServiceName) 90 { 91 this.httpsServiceName = httpsServiceName; 92 } 93 94 } 95 | Popular Tags |