The idea of this class is to have one class containing the three fields
Besides the above (container for the triple type/id/name) it serves the purpose of doing checks between the businessPath/contextEntries and the ThreadLocalUserActivityLogger's LoggingResourceables which have been collected all the way from the initial request creating a particular Controller to the actual event handling method calling into IUserActivityLogger.log() - optionally passing additional LoggingResourceables.
The above check is done as a testing means to assure the data we're logging matches what we expect it to contain.
This way we avoid difficult if not unrealistic testing of the use of this IUserActivityLogging framework.
If a comparison with the businessPath fails, a simple (technical) log.WARN is issued. This should then be noticed by the system administrator hence feeding back into a patch or a fix for the next release.
Initial Date: 20.10.2009
@author Stefan
|
|
|
|
|
|
|
|
|
|