1 8 package ersatz.resourceadapter; 9 10 import javax.resource.cci.ConnectionSpec; 17 public class ConnectionSpecImpl 18 implements ConnectionSpec 19 20 { 21 private String userName = ""; 22 private String passWord = ""; 23 String cName = "ConnectionSpecImpl"; 24 25 public ConnectionSpecImpl() { 26 } 27 public void setUserName(String u) { 28 userName=u; 29 Utility.log(cName+".setUserName="+u); 30 } 31 public void setPassword(String p) { 32 passWord=p; 33 Utility.log(cName+".setPassword="+p); 34 } 35 public String getUserName() { 36 Utility.log(cName+".getUserName="+userName); 37 return userName; 38 } 39 public String getPassword() { 40 Utility.log(cName+".getPassword="+passWord); 41 return passWord; 42 } 43 } 44 | Popular Tags |