"Hooks in operators - extension of existing operators"
Hello everybody,
I have 2 questions regarding extension of existing operators:
1) I need to persist performance operator result into the DB. I guess this can be done by persisting PerformanceVector object, is it correct? Currently I've implemented it by extending Performance operator, but I'm not particularly happy with the solution.
2) I need to persist correct/wrong classifications (done in Performance operator) along with input data (Example object) attribute in the DB. What would be the best way to do this? I've digged RM src a bit and found no meaningful way on how to place hooks in appropriate places, extension of Performance related classes looks very ugly solution, while some CGLIB magic seems not so possible as I'm not sure I'll be able to replace original objects with proxies, while ByteCodeInstrumentation is an overkill. Any solutions/suggestions, maybe I've overlooked something?
Best regards,
Andrey