public Event execute(RequestContext context) throws Exception { try { if (logger.isDebugEnabled()) { logger.debug("Putting action execution attributes " + getAttributes()); } context.getAttributes().putAll(getAttributes()); Event result = getTargetAction().execute(context); return postProcessResult(result); } finally { if (logger.isDebugEnabled()) { logger.debug("Clearing action execution attributes " + getAttributes()); } context.getAttributes().removeAll(getAttributes()); } }
public Event execute(RequestContext context) throws Exception { try { if (logger.isDebugEnabled()) { logger.debug("Putting action execution attributes " + getAttributes()); } context.getAttributes().putAll(getAttributes()); Event result = getTargetAction().execute(context); return postProcessResult(result); } finally { if (logger.isDebugEnabled()) { logger.debug("Clearing action execution attributes " + getAttributes()); } context.getAttributes().removeAll(getAttributes()); } }
public Event execute(RequestContext context) throws Exception { try { if (logger.isDebugEnabled()) { logger.debug("Putting action execution attributes " + getAttributes()); } context.getAttributes().putAll(getAttributes()); Event result = getTargetAction().execute(context); return postProcessResult(result); } finally { if (logger.isDebugEnabled()) { logger.debug("Clearing action execution attributes " + getAttributes()); } context.getAttributes().removeAll(getAttributes()); } }