1 18 package org.apache.geronimo.interop.properties; 19 20 public class SystemPropertyLog { 21 public static SystemPropertyLog getInstance(String instanceName) { 22 SystemPropertyLog log = new SystemPropertyLog(); 23 log.init(instanceName); 24 return log; 25 } 26 27 private String instanceName; 28 29 public String getInstanceName() { 30 return instanceName; 31 } 32 33 protected void init(String instanceName) { 34 instanceName = instanceName; 35 } 36 37 public void debugUsingValue(String value) { 38 System.out.println("SystemPropertyLog.debugUsingValue(): value: " + value); 39 } 40 41 public void debugUsingDefaultValue(String defaultValue) { 42 System.out.println("SystemPropertyLog.debugUsingValue(): defaultValue: " + defaultValue); 43 } 44 } 45 | Popular Tags |