You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/06/27 13:48:27 UTC

[jira] [Commented] (WW-4289) SpringObjectFactory does not obey InitializingBean interface

    [ https://issues.apache.org/jira/browse/WW-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045858#comment-14045858 ] 

Hudson commented on WW-4289:
----------------------------

SUCCESS: Integrated in Struts-JDK6-features #65 (See [https://builds.apache.org/job/Struts-JDK6-features/65/])
WW-4289 Delegates initialisation of bean to Spring (lukaszlenart: rev e12262f035109bfe18dc399f897aac6a1325f900)
* xwork-core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java


> 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
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.18
>
>
> 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.2#6252)