1 package org.apache.turbine; 2 3 56 57 import java.util.HashMap ; 58 import java.util.Hashtable ; 59 import java.util.Map ; 60 61 import org.apache.commons.logging.Log; 62 import org.apache.commons.logging.LogFactory; 63 64 77 public class TurbineXmlConfig extends TurbineConfig 78 { 79 private static final Log log = LogFactory.getLog(TurbineXmlConfig.class); 80 81 85 public static final String CONFIGURATION_PATH_KEY = "configuration"; 86 87 88 101 public TurbineXmlConfig(String path, Map attributes, Map initParams) 102 { 103 super(path, attributes, initParams); 104 } 105 106 109 public TurbineXmlConfig(String path, Map initParams) 110 { 111 this(path, new Hashtable (0), initParams); 112 } 113 114 121 public TurbineXmlConfig(String path, String properties) 122 { 123 this(path, new HashMap (1)); 124 initParams.put(CONFIGURATION_PATH_KEY, properties); 125 } 126 127 } 128 | Popular Tags |