[
http://www.stripesframework.org/jira/browse/STS-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frederic Daoud resolved STS-667.
--------------------------------
Resolution: Fixed
Fixed in revision 1135.
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development