Collection<org.drools.event.AgendaEventListener> listeners = commandService.execute( new GetAgendaEventListenersCommand() );
Collection<AgendaEventListener> result = new ArrayList<AgendaEventListener>();
for ( org.drools.event.AgendaEventListener listener : listeners ) {
AgendaEventListenerWrapper wrapper = (AgendaEventListenerWrapper) listener;
result.add( wrapper.unWrap() );
}
return result;
}