org.apache.tapestry.binding
Class StateBinding

java.lang.Object
  extended byorg.apache.tapestry.binding.AbstractBinding
      extended byorg.apache.tapestry.binding.StateBinding
All Implemented Interfaces:
IBinding, org.apache.hivemind.Locatable

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

Constructor Summary
StateBinding(java.lang.String description, ValueConverter valueConverter, org.apache.hivemind.Location location, ApplicationStateManager applicationStateManager, java.lang.String objectName)
           
 
Method Summary
 java.lang.Object getObject()
          Returns the value of this binding.
 
Methods inherited from class org.apache.tapestry.binding.AbstractBinding
createReadOnlyBindingException, getComponent, getDescription, getLocation, getObject, getValueConverter, isInvariant, setObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateBinding

public StateBinding(java.lang.String description,
                    ValueConverter valueConverter,
                    org.apache.hivemind.Location location,
                    ApplicationStateManager applicationStateManager,
                    java.lang.String objectName)
Method Detail

getObject

public java.lang.Object getObject()
Description copied from interface: IBinding
Returns the value of this binding. This is the essential method.