org.apache.tapestry.engine.state
Class DefaultGlobalStateObjectFactory

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.engine.state.NamedClassStateObjectFactory
          extended by org.apache.tapestry.engine.state.DefaultGlobalStateObjectFactory
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, StateObjectFactory

public class DefaultGlobalStateObjectFactory
extends NamedClassStateObjectFactory
implements StateObjectFactory

The default factory for the (default) global application state object. Creates and returns a synchronized HashMap, if no class name is specified. This duplicates behavior from Tapestry 3.0.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
DefaultGlobalStateObjectFactory()
           
 
Method Summary
 Object createStateObject()
           
 
Methods inherited from class org.apache.tapestry.engine.state.NamedClassStateObjectFactory
getClassName, setClassName, setClassResolver
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGlobalStateObjectFactory

public DefaultGlobalStateObjectFactory()
Method Detail

createStateObject

public Object createStateObject()
Specified by:
createStateObject in interface StateObjectFactory
Overrides:
createStateObject in class NamedClassStateObjectFactory


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.