1 25 package org.objectweb.jonas.jtests.appclients.timeclient; 26 27 28 33 public class StaticPassValue { 34 35 private static StaticPassValue instance = null; 36 private String init = null; 37 private String request = null; 38 private String response = null; 39 42 private StaticPassValue() { 43 } 44 45 public static StaticPassValue getInstance() { 46 if (instance == null) { 47 instance = new StaticPassValue(); 48 } 49 return instance; 50 } 51 52 55 public void setInitValue(String val) { 56 init = val; 57 } 58 59 62 public void setRequestValue(String val) { 63 request = val; 64 } 65 66 69 public String getInit() { 70 return init; 71 } 72 75 public String getRequest() { 76 return request; 77 } 78 79 82 public String getResponse() { 83 return response; 84 } 85 88 public void setResponseValue(String response) { 89 this.response = response; 90 } 91 } 92 | Popular Tags |