Calling this method from a WMS plugin registers that this plugin's capabilities will vary over time and therefore should be re-requested each time a request is made. This has a significant impact on the performance of the WMS so should not be switched on unless necessary.
When the WMS service first starts up, it queries all of its plug-ins for their capabilities and passes in a TSLWMSRegister object. In normal circumstances, the returned layers are then cache for the lifetime of the service and used to respond to GetCapabilities requests. If this flag is turned on, then the response from that initial getLayers call is discarded and each time any type of request is received, the getLayers method will be called to regenerate the system capabilities. The capabilities are needed for GetMap and GetFeatureInfo requests too so that requests can be matched to the correct plugin instance.
If this option is enabled, during subsequence GetCapabilities requests to the service, a valid request parameter will be passed to the getLayers method of the plugin. This is the only case in which this argument will be non-null. The parameter can be used to determine if any additional service parameters were passed as part of the request.
The plugin must be able to handle the cases whereby the plugin's capabilities have changed between the time the getLayers call is made and the subsequent getMap method call is made during a single GetMap request.
Once enabled, this flag cannot be switch off later.