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] [Resolved] (WW-3905) The TextProvider injection in ActionSupport isn't quite integrated into the framework's core DI
Date Sun, 23 Apr 2017 09:22:04 GMT

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

Lukasz Lenart resolved WW-3905.
-------------------------------
    Resolution: Fixed
      Assignee: Lukasz Lenart

I think this can be marked as resolved but changes introduced in WW-4756

> The TextProvider injection in ActionSupport isn't quite integrated into the framework's
core DI 
> ------------------------------------------------------------------------------------------------
>
>                 Key: WW-3905
>                 URL: https://issues.apache.org/jira/browse/WW-3905
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.4.1
>            Reporter: chad davis
>            Assignee: Lukasz Lenart
>              Labels: ActionSupport, DependencyInjection, TextProvider
>             Fix For: 2.5.next
>
>
> The injection of the TextProvider into ActionSupport occurs via a lazy initialization
in the getTextProvider() method.  This method obtains the TextProvider from a factory that
has the implementation injected into it via  the core di mechanism.  The problem with this
is that ActionSupport programmatically does the injection using it's reference to the core
ContainerImpl.  This makes it impossible to use the Spring plugin's SpringObjectFactory to
manage this TextProvider.    



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message