You should be able to add a setEmailEngine method and wire it up in your XML file with:
<property name="emailEngine" ref="emailEngine"/> Matt On 1/17/08, Ding, Qin <[EMAIL PROTECTED]> wrote: > I have a need to send email from service layer (ie., > xxxManagerImpl.java) rather than web layer. There is no web layer for > the application. This is a scheduled batch job. How do I get the > emailEngine bean defined in spring applicationContext-service.xml from > xxxManagerImpl.java? > > Thank you. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
