That's not something you should ask us. That's something you should ask the Spring folks. HiveMind doesn't do the injecting into Spring-managed objects. HiveMind can, however, use Spring-managed objects as services (and inject them into its own objects that it manages). How often do you run across this case? If it's just this once, you might create a little bean that's able to delegate/proxy to the service in the hivemind registry. You could have Spring instantiate that bean and inject it into its object.
-----Original Message----- From: Cherry Development [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 2:48 PM To: [email protected] Subject: Injecting a state object into another service? (Humblest apologies for cross-posting this from tapestry-users, but I thought someone here might have a better idea...) I'm having trouble figuring out how to get hivemind to jump through the hoops that I need for this: I have a service object that I'm creating in Spring, that I need to inject with a hivemind state object before returning it to tapestry. So, here are the parts that I can get to work: 1) I can create the state object and contribute it to tapestry.state.ApplicationObjects 2) I can pull the spring service out of spring with <invoke-factory service-id="hivemind.lib.SpringLookupFactory"> But how do I set the state object into a property of the spring service? --------------------------------------------------------------------- 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]
