1 16 17 23 package org.apache.axis.components.uuid; 24 25 import org.apache.axis.AxisProperties; 26 import org.apache.axis.components.logger.LogFactory; 27 import org.apache.commons.logging.Log; 28 29 40 public abstract class UUIDGenFactory { 41 protected static Log log = LogFactory.getLog(UUIDGenFactory.class.getName()); 42 43 static { 44 AxisProperties.setClassOverrideProperty(UUIDGen.class, "axis.UUIDGenerator"); 45 AxisProperties.setClassDefault(UUIDGen.class, "org.apache.axis.components.uuid.FastUUIDGen"); 46 } 47 48 51 public static UUIDGen getUUIDGen() { 52 UUIDGen uuidgen = (UUIDGen) AxisProperties.newInstance(UUIDGen.class); 53 log.debug("axis.UUIDGenerator:" + uuidgen.getClass().getName()); 54 return uuidgen; 55 } 56 } 57 | Popular Tags |