1 16 package org.apache.axis.components.net; 17 18 import org.apache.axis.AxisProperties; 19 import org.apache.axis.components.logger.LogFactory; 20 import org.apache.commons.logging.Log; 21 22 25 public class CommonsHTTPClientPropertiesFactory { 26 protected static Log log = 27 LogFactory.getLog(CommonsHTTPClientPropertiesFactory.class.getName()); 28 29 private static CommonsHTTPClientProperties properties; 30 31 public static synchronized CommonsHTTPClientProperties create() { 32 if (properties == null) { 33 properties = (CommonsHTTPClientProperties) 34 AxisProperties.newInstance(CommonsHTTPClientProperties.class, 35 DefaultCommonsHTTPClientProperties.class); 36 } 37 return properties; 38 } 39 } 40 | Popular Tags |