Collection<org.drools.event.RuleFlowEventListener> listeners = commandService.execute( new GetProcessEventListenersCommand() );
Collection<ProcessEventListener> result = new ArrayList<ProcessEventListener>();
for ( org.drools.event.RuleFlowEventListener listener : listeners ) {
ProcessEventListenerWrapper wrapper = (ProcessEventListenerWrapper) listener;
result.add( wrapper.unWrap() );
}
return result;
}