It is a bug that more.xml is not imported. We will fix it asap. You can add a workaround yourself by using an around advice (SpecialCases.xpt) if you need it immediately.
The idea is that you can add dependency injection of your own beans in the services. See advanced tutorial, section "How to generate services". /Patrik Martin Klinke wrote: > > Hi, > > I noticed that the file “applicationContext.xml” does not contain a > reference to the custom bean definition file “more.xml” while the file > “applicationContext-test.xml” imports more-test.xml as expected. This > leads to successful tests but the deployed EAR fails with a NPE because > more.xml is not evaluated obviously. > > My use-case is the mapping of entities to data transfer objects (DTOs, > sometimes also referred to as Value Object – not the kind of Value Object > available in Sculptor, however) using Dozer. The Dozer mapper can be > configured as a singleton Spring bean and then be injected into the beans > that need it. > > The developer’s guide mentions the possibility to override bean > definitions, but does not recommend it. What is the recommended way to > inject custom beans into generated services? Or is this just a bug in the > generation of the applicationContext.xml? > > Martin Klinke > Xavo AG > http://www.xavo.de > -- View this message in context: http://www.nabble.com/-Sculptor--applicationContext.xml-does-not-import-more.xml-tp16301150s17564p16334865.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer
