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

Musachy Barroso commented on WW-2898:
-------------------------------------

I don't understand this quite well. The ObjectFactory is created by the 
container, meaning that after it is created, the dependencies will be injected. 
I don't see how buildBeans can be called, skipping the injection step. Can you 
provide more details on when this happens?

> 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.

Reply via email to