org.apache.tapestry.services.impl
Interface DeferredObject

All Superinterfaces:
org.apache.hivemind.Locatable
All Known Implementing Classes:
DeferredObjectImpl, LiteralDeferredObject

public interface DeferredObject
extends org.apache.hivemind.Locatable

Interface for an object that can provide a second, target object. This encapsulates the process of obtaining the target object (which is presumably expensive) so that the operation can be deferred or even avoided.

Since:
4.0
Author:
Howard M. Lewis Ship
See Also:
DeferredObjectTranslator

Method Summary
 Object getObject()
          Returns the target object.
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Method Detail

getObject

Object getObject()
Returns the target object. The caller is expected to cache the result, if appropriate.



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