Spring: Setting a bean's properties separate from initialisation

L

laura.paterson

Hi,

I am working on an application where the Spring applicationContext.xml
has been broken into many separate files, to reflect the modular,
pluggable architecture of the app.

I am currently implementing a cross-cutting concern - which I have
defined in a separate applicationContext.xml file. My problem is that
the cross cutting concern needs to know about some properties that are
defined by the application code. I don't want the cross-cutting xml to
change for each application that uses it.

How can I implement this so that the application specific
applicationContext.xml file can specify a property defined by the
cross-cutting applicationContext.xml?

Many thanks,
- Laura
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top