Take a look at this issue:
According to JIRA it's coding in process and it's scheduled for 4.2. Maybe you should comment the JIRA issue if you have propositions or if you want to report problems.
thank you for the response. The JIRA does not cover what I meant.
I don't want to query history data but be able to capture the Event/History-Data myself. We have a quite specific requirement to deliver status and event information live to another system. All these information are available as events in JBPM (e.g. closing a task).
We would like to add a history listener (adding historySessionChain). But right now the information are locked in (the actual Event-Objects) because all the Event-classes do not have getters (e.g. for the task that is the originator of the event).
Sorry it is not that easy to explain. I hope you understand what I mean.
Okay, now I got it. Thanks for the explanation. With my limited knowledge your proposition sounds raisonable and interesting to me. But we should wait to heart what the developers say. However my advice would be to create a jira issue (feature suggestion) and gather votes on it.
Yep... Sebastian is right. Would be a nice way of integrating jBPM with e.g. SeeWhy (that is also why it should be extendible)