1 55 56 package org.jboss.axis.components.script; 57 58 import org.jboss.axis.AxisProperties; 59 import org.jboss.logging.Logger; 60 61 68 public class ScriptFactory 69 { 70 private static Logger log = Logger.getLogger(ScriptFactory.class.getName()); 71 72 static 73 { 74 AxisProperties.setClassOverrideProperty(Script.class, "axis.Script"); 75 76 AxisProperties.setClassDefaults(Script.class, 77 new String []{ 78 "org.jboss.axis.components.script.BSF", 79 }); 80 } 81 82 85 public static Script getScript() 86 { 87 Script script = (Script)AxisProperties.newInstance(Script.class); 88 log.debug("axis.Script: " + script.getClass().getName()); 89 return script; 90 } 91 } 92 93 94 | Popular Tags |