com.uwyn.rife.engine
Interface SiteListener


public interface SiteListener

An interface that can be implemented to receive notifications about the events related to a site in the web engine

Since:
1.5
Version:
$Revision: 3634 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
Site

Method Summary
 void modified(Site outdatedSite)
          This method is called when any of the resources that were used during the construction of the site has been detected as being modified.
 

Method Detail

modified

void modified(Site outdatedSite)
This method is called when any of the resources that were used during the construction of the site has been detected as being modified.

This will only be detected if the SITE_AUTO_RELOAD configuration parameter is set to true.

If you manually create a new site, you have to call Site.populateFromOther(com.uwyn.rife.engine.Site) on the outdated site instance, so that the rest of this request and subsequent requests will be processed against the up-to-date version.

Parameters:
outdatedSite - the instance of the site where a modified resource has been detected
Since:
1.5


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.