> I was looking for a way to add beans to the context programmatically, > but I didn't see anything. I've done that (somewhere) - for a test. If Tom's suggestions (which feels right) doesn't work I'll see if I cannot remember where... R