@Override
public Collection<SagaManager> getLoadersForEvent(Object event) {
Collection<SagaManager> results = new HashSet<SagaManager>();
Collection<String> loadersBeansNames = loadersInterestedIn.get(event.getClass());
for (String loaderBeanName : loadersBeansNames) {
SagaManager loader = beanFactory.getBean(loaderBeanName, SagaManager.class);
results.add(loader);
}
return results;
}