GridSafeDocumentation/AccountingPolicy/ListenerPolicy/
Listener Policy
Sometimes it is necessary to implement side-effects on other parts of the accounting system when records are inserted or removed from the system. For example:
- An allocation system might modify budget values.
- A table of aggregated records needs to be updated when new records are inserted into the master table
The Listener Policy allows record insert/delete operations to be forwarded to objects that implement the UsageRecordListener interface.
This policy is configured using the following configuration properties:
- ListenerPolicy.table-name This is a comma separated list of UsageRecordListener tables that should be notified when new records are inserted.