[
http://www.stripesframework.org/jira/browse/STS-649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frederic Daoud resolved STS-649.
--------------------------------
Resolution: Fixed
Fix Version/s: Release 1.6
Release 1.5.1
Fixed in build 1044 (trunk) and 1045 (1.5.x).
> Methods annotated with @After are logged as @Before
> ---------------------------------------------------
>
> Key: STS-649
> URL: http://www.stripesframework.org/jira/browse/STS-649
> Project: Stripes
> Issue Type: Bug
> Components: ActionBean Dispatching
> Affects Versions: Release 1.5
> Environment: Mac OS X 10.5.6, Tomcat 6.0.13, Java 1.5
> Reporter: Ozkan
> Assignee: Frederic Daoud
> Priority: Minor
> Fix For: Release 1.5.1, Release 1.6
>
>
> Methods init() and isLogged() in the log below are defined in an abstract
> action bean and annotated with @After but are logged as @Before
> @After(stages=LifecycleStage.ActionBeanResolution)
> public final void init() {
> ....
> @After(stages=LifecycleStage.HandlerResolution)
> public final Resolution isLogged() {
> .....
> 17:02:19,393 DEBUG StripesFilter:194 - Intercepting request to URL: /mobilek/
> 17:02:19,394 DEBUG StripesFilter:183 - LocalePicker selected locale: bg
> 17:02:19,394 DEBUG StripesFilter:183 - LocalePicker selected character
> encoding: UTF-8
> 17:02:19,395 DEBUG SpringHelper:183 - Found spring bean with name
> [daoCommonService] and type
> [com.mobilek.service.impl.hibernate.DaoCommonService]
> 17:02:19,395 DEBUG ExecutionContext:183 - Transitioning to lifecycle stage
> ActionBeanResolution
> 17:02:19,396 DEBUG SpringInterceptor:183 - Running Spring dependency
> injection for instance of SearchActionBean
> 17:02:19,396 WARN SpringHelper:161 - Found unique SpringBean with type
> [com.mobilek.service.IDaoCommonService]. Matching on type is a little risky
> so watch out!
> 17:02:19,397 DEBUG SpringHelper:183 - Found spring bean with name
> [daoService] and type [com.mobilek.service.impl.hibernate.DaoService]
> 17:02:19,397 DEBUG BeforeAfterMethodInterceptor:183 - Calling @Before method
> 'init' at LifecycleStage 'ActionBeanResolution' on ActionBean
> 'SearchActionBean'
> com.mobilek.web.action.SearchActionBean#init()
> com.mobilek.web.ActionBeanContextExt#getAnonymousUser()
> 17:02:19,397 DEBUG ExecutionContext:183 - Transitioning to lifecycle stage
> HandlerResolution
> 17:02:19,398 DEBUG BeforeAfterMethodInterceptor:183 - Calling @Before method
> 'isLogged' at LifecycleStage 'HandlerResolution' on ActionBean
> 'SearchActionBean'
> 17:02:19,398 DEBUG ExecutionContext:183 - Transitioning to lifecycle stage
> BindingAndValidation
> 17:02:19,399 DEBUG BeforeAfterMethodInterceptor:183 - Calling @Before method
> 'initCar' at LifecycleStage 'BindingAndValidation' on ActionBean
> 'SearchActionBean'
> com.mobilek.web.action.SearchActionBean#initCar()
> 17:02:19,400 DEBUG ExecutionContext:183 - Transitioning to lifecycle stage
> EventHandling
> com.mobilek.web.action.SearchActionBean#index()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development