The portlet pool lists and describes the set of JSR 168 and JSR 286 portlet applications that are provided by the WSRP Producer. By including them in the WSRP service description, the Producer offers these portlets for integration by WSRP Consumers.
By default, the WSRP Producer provides all JSR 168 and JSR 286 portlets that are running on the application server except for portlets that are explicitly excluded. For details about how to exclude portlets from being provided, read Selecting the portlets that you want to provide
The portlet pool is refreshed periodically. The portlet pool reload interval determines the time interval after which the portlet pool is refreshed. The default value for the reload interval is 1800
seconds. With this setting, the portlet pool is refreshed every half hour.
You can set the interval for this refresh. For the WSRP Producer web module, the environment entry with the name wsrp.description.reload.interval
defines the reload interval for the portlet pool in seconds. To change the reload interval, set the required value for this entry as a positive integer. The unit of measure is seconds. To disable the periodic reload the portlet pool completely, specify a negative value.
Apart from the periodic refresh, IBM
® Application Server Full Profile provides a refresh whenever a portlet application is started or stopped. In detail, the refresh works as follows:
Parent topic: Customizing the WSRP Producer
Selecting the portlets that you want to provide
- On WebSphere Application Server Full Profile, the WSRP Producer updates the portlet pool according to the portlet pool reload interval. Additionally, it refreshes the portlet pool whenever a portlet application is started or stopped. It includes the appropriate portlets in the portlet pool or removes them from the portlet pool.
- On WebSphere Application Server Liberty Profile, the WSRP Producer does not update the portlet pool when a portlet application is started or stopped. When a portlet application is started on WebSphere Application Server Liberty Profile, the portlets are included in the portlet pool when the portlet pool is refreshed after the portlet pool reload interval.