Rate routine plugin implementation

PolicyCenter includes a built-in implementation of the rate routine plugin. This implementation contains classes for the personal auto and commercial property lines of business. In Studio, the built-in plugin implementation is RateRoutinePlugin.gs in the gw.plugin.rateflow package. To customize the rate routine plugin logic, you can create your own implementation of this plugin.

The RateRoutinePlugin.gs passes the processing to line-of-business-specific configuration classes, if a class exists. The RateRoutinePlugin.gs looks for the line-of-business configuration classes in the gw.lob package. To find these configuration classes, the plugin maps the policy line code to the product abbreviation as follows:

Policy Line Code

Product Abbreviation

Configuration Class

PersonalAutoLine

PA

gw.lob.pa.rating.PARateRoutineConfig

CPLine

CP

gw.lob.cp.rating.CPRateRoutineConfig

If the product abbreviation does not fit this mapping, the makeAbbrevMap and makeConfigClassName methods make adjustments to the mapping. In the RateRoutinePlugin.gs, these methods make an adjustment for the business auto line. If you need to make other adjustments, you must create your own version of the rate routine plugin.

The line-of-business configuration classes implement the IRateRoutineConfig interface.