Object o = appContext.getBean(beanName);
if (o != null && Mediator.class.isAssignableFrom(o.getClass())) {
Mediator m = (Mediator) o;
if (synLog.isTraceOrDebugEnabled()) {
synLog.traceOrDebug("Loaded mediator from bean : " + beanName + " executing...");
}
return m.mediate(synCtx);
} else {
if (synLog.isTraceOrDebugEnabled()) {