[jboss-user] [JBoss jBPM] - Re: jPDL: global event handlers
bradsdavis
do-not-reply at jboss.com
Sun Mar 29 17:24:58 EDT 2009
I am not sure of an official global event handler. I dont believe there is a way to do that, but here is one possible solution otherwise.
One option would be to write a log handler that executes on the different logs to send events. Most of the event types are logged, so you could get at the same data.
| <!-- A : org.jbpm.graph.log.ActionLog -->
| <!-- B : org.jbpm.context.log.ByteArrayUpdateLog -->
| <!-- C : org.jbpm.logging.log.CompositeLog -->
| <!-- D : org.jbpm.context.log.VariableDeleteLog -->
| <!-- E : org.jbpm.context.log.DateUpdateLog -->
| <!-- F : org.jbpm.context.log.HibernateStringUpdateLog -->
| <!-- G : org.jbpm.context.log.LongUpdateLog -->
| <!-- H : org.jbpm.context.log.HibernateLongUpdateLog -->
| <!-- I : org.jbpm.graph.log.ProcessInstanceCreateLog -->
| <!-- L : org.jbpm.context.log.DoubleUpdateLog -->
| <!-- M : org.jbpm.logging.log.MessageLog -->
| <!-- N : org.jbpm.graph.log.NodeLog -->
| <!-- O : org.jbpm.graph.log.TokenCreateLog -->
| <!-- P : org.jbpm.logging.log.ProcessLog -->
| <!-- R : org.jbpm.context.log.VariableCreateLog -->
| <!-- S : org.jbpm.graph.log.SignalLog -->
| <!-- T : org.jbpm.graph.log.TransitionLog -->
| <!-- U : org.jbpm.context.log.StringUpdateLog -->
| <!-- V : org.jbpm.context.log.VariableLog -->
| <!-- W : org.jbpm.context.log.VariableUpdateLog -->
| <!-- X : org.jbpm.graph.log.ProcessInstanceEndLog -->
| <!-- Y : org.jbpm.graph.log.TokenEndLog -->
| <!-- Z : org.jbpm.graph.log.ProcessStateLog -->
| <!-- 0 : org.jbpm.taskmgmt.log.TaskLog -->
| <!-- 1 : org.jbpm.taskmgmt.log.TaskCreateLog -->
| <!-- 2 : org.jbpm.taskmgmt.log.TaskAssignLog -->
| <!-- 3 : org.jbpm.taskmgmt.log.TaskEndLog -->
| <!-- 4 : org.jbpm.taskmgmt.log.SwimlaneLog -->
| <!-- 5 : org.jbpm.taskmgmt.log.SwimlaneCreateLog -->
| <!-- 6 : org.jbpm.taskmgmt.log.SwimlaneAssignLog -->
|
In the jbpm configuration, then just configure in your logger.
|
| <service name="logging">
| <factory>
| <bean class="you.logger.Class"></bean>
| </factory>
| </service>
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221794#4221794
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221794
More information about the jboss-user
mailing list