org.apache.tapestry.services.impl
Class LiteralDeferredObject

java.lang.Object
  extended by org.apache.tapestry.services.impl.LiteralDeferredObject
All Implemented Interfaces:
org.apache.hivemind.Locatable, DeferredObject

public class LiteralDeferredObject
extends Object
implements DeferredObject

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
LiteralDeferredObject(String value, org.apache.hivemind.Location location)
           
 
Method Summary
 org.apache.hivemind.Location getLocation()
           
 Object getObject()
          Returns the target object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralDeferredObject

public LiteralDeferredObject(String value,
                             org.apache.hivemind.Location location)
Method Detail

getObject

public Object getObject()
Description copied from interface: DeferredObject
Returns the target object. The caller is expected to cache the result, if appropriate.

Specified by:
getObject in interface DeferredObject

getLocation

public org.apache.hivemind.Location getLocation()
Specified by:
getLocation in interface org.apache.hivemind.Locatable


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