You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jasper Rosenberg (JIRA)" <ji...@apache.org> on 2014/02/11 16:07:19 UTC

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

Jasper Rosenberg created WW-4289:
------------------------------------

             Summary: 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


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)