// Then, if and only if an event was specified, run handler resolution
if (resolution == null && event != null && (beanNotPresent || this.alwaysExecuteEvent)) {
ctx.setLifecycleStage(LifecycleStage.HandlerResolution);
ctx.setInterceptors(config.getInterceptors(LifecycleStage.HandlerResolution));
resolution = ctx.wrap( new Interceptor() {
public Resolution intercept(ExecutionContext ec) throws Exception {
ec.setHandler(resolver.getHandler(ec.getActionBean().getClass(), event));
ec.getActionBeanContext().setEventName(event);
return null;
}