CVS: Tapestry/framework/src/net/sf/tapestry/spec Direction.java,1.7,1.7.4.1

Mind Bridge <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/framework/src/net/sf/tapestry/spec
In directory sc8-pr-cvs1:/tmp/cvs-serv12947/framework/src/net/sf/tapestry/spec

Modified Files:
      Tag: mb-2-3
	Direction.java 
Log Message:


Index: Direction.java
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/framework/src/net/sf/tapestry/spec/Direction.java,v
retrieving revision 1.7
retrieving revision 1.7.4.1
diff -C2 -d -r1.7 -r1.7.4.1
*** Direction.java	27 Nov 2002 17:58:52 -0000	1.7
--- Direction.java	23 Dec 2002 13:04:08 -0000	1.7.4.1
***************
*** 57,60 ****
--- 57,85 ----
  	public static final Direction CUSTOM = new Direction("CUSTOM");
  
+ 
+     /**
+      *  Encapsulates the semantics of a component parameter whose value 
+      *  is automatically cached.
+      * 
+      *  <p>The component must define an abstract getter and possibly an
+      *  abstract setter for the property defined by the parameter.
+      *  Tapestry will automatically create implementations for those 
+      *  methods. They will operate in the following way:
+      * 
+      *  <ul>
+      *  <li>The get method of the property will get the value from the
+      *  binding upon the first request and will cache it. Further 
+      *  invocations of that method will return the cached value. 
+      *  Cached values are discarded when the page is detached.
+      * 
+      *  <li>The set method (if implemented) will set the value in the 
+      *  binding and will update the cache.
+      * 
+      *  @since 2.3
+      * 
+      **/
+ 
+     public static final Direction CACHED = new Direction("CACHED");    
+     
      protected Direction(String name)
      {



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.