[
https://issues.apache.org/struts/browse/WW-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45333#action_45333
]
Musachy Barroso commented on WW-2898:
-------------------------------------
On a second thought, the ObjectFactory is created during the bootstrap, when
not all dependencies have been loaded. Only the bootstrapped dependencies will
be injected at that time.
> Object Factory not injected before buildBean call for type converters
> ---------------------------------------------------------------------
>
> Key: WW-2898
> URL: https://issues.apache.org/struts/browse/WW-2898
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.2
> Environment: NA
> Reporter: Adam Ruggles
> Fix For: 2.1.3
>
>
> This specifically affects the Guice Plugin, but it will affect any
> ObjectFactory implementation that needs to be injected from the struts
> properties.
> When a Object Factory is created the buildBean will be called before any of
> the @Injector methods for type converters (xwork-conversion.properties).
> After the type converters have been built the properties are correctly
> injected and then the buildBeans are called on the remaining struts
> configuration beans.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.