1 16 17 package org.apache.axis.components.script; 18 19 import org.apache.axis.AxisProperties; 20 import org.apache.axis.components.logger.LogFactory; 21 import org.apache.commons.logging.Log; 22 23 28 public class ScriptFactory { 29 protected static Log log = 30 LogFactory.getLog(ScriptFactory.class.getName()); 31 32 static { 33 AxisProperties.setClassOverrideProperty(Script.class, "axis.Script"); 34 35 AxisProperties.setClassDefaults(Script.class, 36 new String []{ 37 "org.apache.axis.components.script.BSF", 38 }); 39 } 40 41 44 public static Script getScript() { 45 Script script = (Script) AxisProperties.newInstance(Script.class); 46 log.debug("axis.Script: " + script.getClass().getName()); 47 return script; 48 } 49 } 50 51 52 | Popular Tags |