[ 
http://www.stripesframework.org/jira/browse/STS-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter closed STS-667.
--------------------------


> ObjectFactory PostProcessor runs too late in the sequence
> ---------------------------------------------------------
>
>                 Key: STS-667
>                 URL: http://www.stripesframework.org/jira/browse/STS-667
>             Project: Stripes
>          Issue Type: Bug
>          Components: Context Management
>            Reporter: Frederic Daoud
>            Assignee: Frederic Daoud
>             Fix For: Release 1.6
>
>
> I have a custom class that implements LocalizationBundleFactory and that 
> wants to be injected with dependencies via @SpringBean. The 
> stripes.integration package is configured in web.xml so that the Spring 
> PostProcessor is used. When my class is auto-loaded, it looks like the Spring 
> PostProcessor has not yet been discovered and loaded. The object factory's 
> list of post processors is empty and the class's dependencies are not 
> injected.
> I do see that the Spring PostProcessor is loaded correctly; it does its job 
> on Action Beans and my custom ActionBeanContext class, for example.
> It looks like the auto-discovery and auto-loading sequence has a "chariot 
> before the horses" problem. I haven't had the chance to test with other 
> Stripes auto-loaded classes, but it may well be the case that custom 
> TypeConverters and so on that want to take advantage of Spring DI also have 
> this problem.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to