25.2.1 PropertyListener interface

This interface is implemented for cooperative portlets using the programmatic approach. This interface may optionally be implemented by portlets. It is an alternate mechanism by which interested portlets may be notified of changed properties.

Other options are to be notified through portlet actions (the actionPerformed method of the ActionListener interface), or Struts actions. The PropertyListener interface may be implemented by portlets that only wish to update their current state based on property changes, rather than execute an action immediately.

Note: The PropertyListener interface requires that you implement the setProperties method to be notified of property changes.


Redbooks
ibm.com/redbooks