1 25 package org.objectweb.jonas.jtests.beans.time; 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 41 private StaticPassValue() { 42 } 43 44 public static StaticPassValue getInstance() { 45 if (instance == null) { 46 instance = new StaticPassValue(); 47 } 48 return instance; 49 } 50 51 54 public void setInitValue(String val) { 55 init = val; 56 } 57 58 61 public void setRequestValue(String val) { 62 request = val; 63 } 64 65 68 public String getInit() { 69 return init; 70 } 71 74 public String getRequest() { 75 return request; 76 } 77 } 78 | Popular Tags |