org.apache.tapestry.pageload
Class PropertyInitializer
java.lang.Object
org.apache.tapestry.pageload.PropertyInitializer
- All Implemented Interfaces:
- EventListener, PageDetachListener
public class PropertyInitializer
- extends Object
- implements PageDetachListener
Given a component, a property and a value, this object will
reset the property to the value whenever the page
(containing the component) is detached. This is related
to support for IPropertySpecification
s.
- Since:
- 3.0
- Version:
- $Id: PropertyInitializer.java 243859 2004-03-30 18:27:36Z hlship $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyInitializer
public PropertyInitializer(IResourceResolver resolver,
IComponent component,
String propertyName,
String expression,
ILocation location)
prepareInvariant
public void prepareInvariant()
pageDetached
public void pageDetached(PageEvent event)
- Description copied from interface:
PageDetachListener
- Invoked by the page from its
IPage.detach()
method.
- Specified by:
pageDetached
in interface PageDetachListener