1 15 package org.apache.tapestry.engine.state; 16 17 import java.util.Collections ; 18 import java.util.HashMap ; 19 20 import org.apache.hivemind.HiveMind; 21 22 29 public class DefaultGlobalStateObjectFactory extends NamedClassStateObjectFactory implements 30 StateObjectFactory 31 { 32 33 public Object createStateObject() 34 { 35 if (HiveMind.isBlank(getClassName())) 36 return Collections.synchronizedMap(new HashMap ()); 37 38 return super.createStateObject(); 39 } 40 } | Popular Tags |