struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4289) SpringObjectFactory does not obey InitializingBean interface
Date Tue, 11 Feb 2014 15:11:19 GMT

     [ https://issues.apache.org/jira/browse/WW-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-4289:
------------------------------

    Fix Version/s: 2.3.17

> SpringObjectFactory does not obey InitializingBean interface
> ------------------------------------------------------------
>
>                 Key: WW-4289
>                 URL: https://issues.apache.org/jira/browse/WW-4289
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Spring
>            Reporter: Jasper Rosenberg
>            Priority: Minor
>             Fix For: 2.3.17
>
>
> SpringObjectFactory has the comment:
> // We don't need to call the init-method since one won't be registered.
> Unfortunately, that isn't true since the bean may implement the Spring interface: InitializingBean

> Instead of the comment, it should call: 
> initializeBean(bean, bean.getClass().getName());



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message