public Resolution intercept ( ExecutionContext context ) throws Exception { HttpServletRequest request = context . getActionBeanContext ( ) . getRequest ( ) ; if ( resourceBundleFactory != null ) { ResourceBundle bundle = resourceBundleFactory . getDefaultBundle ( request . getLocale ( ) ) ; setMessageResourceBundle ( request , bundle ) ; } setOtherResourceBundles ( request ) ; return context . proceed ( ) ; }
Invoked when intercepting the flow of execution .