org.apache.tapestry.binding
Class StateBinding
java.lang.Object
org.apache.tapestry.binding.AbstractBinding
org.apache.tapestry.binding.StateBinding
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, IBinding
public class StateBinding
- extends AbstractBinding
Binding used to efficiently query whether an application state object (visit, global and friends)
exists without actually creating it (or creating a session).
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Method Summary |
Object |
getObject()
Returns the value of this binding. |
boolean |
isInvariant()
Returns false; these ASO objects can be created at any time. |
StateBinding
public StateBinding(String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
ApplicationStateManager applicationStateManager,
String objectName)
isInvariant
public boolean isInvariant()
- Returns false; these ASO objects can be created at any time.
- Specified by:
isInvariant
in interface IBinding
- Overrides:
isInvariant
in class AbstractBinding
getObject
public Object getObject()
- Description copied from interface:
IBinding
- Returns the value of this binding. This is the essential method.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.