Also changing the page pool is pretty easy. Write a Hivemind file like
the following:
<module id="mycompany.newpagepool" version="4.0.0"
package="com.mycompany.tapestry">
<implementation service-id="PagePool">
<invoke-factory>
<construct class="com.mycompany.tapestry.NewPagePool">
<event-listener service-id="tapestry.ResetEventCoordinator"/>
</construct>
</invoke-factory>
</implementation>
Then write an object pool class that implements ObjectPool and
ResetEventListener with the following methods:
public synchronized Object get(Object key);
public synchronized void store(Object key, Object value);
public synchronized void resetEventDidOccur();
Mark.
-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Kent Tong
Sent: 06 September 2005 16:40
To: [email protected]
Subject: Re: can I change the page pool?
<johan <at> zoom.nu> writes:
> For tapestry 3 (which I use now) I will have to change the source and
> rebuild tapestry, but does anyone know if there is or will there be an
> extension point in Tapestry 4 to change this?
In Tapestry 4 this (no page expiration) is the default and can't be
changed (as of now). So it will work best for you :-)
--
Author of an e-Book for learning Tapestry
(http://www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]