The injection Tapsestry performs on components is based on bytecode;
what's actually injected is the ApplicationStateManager service, and
Java code is created to access the state object on demand.

HiveMind and Spring don't, to my knowledge, have a comparable idea.
The best you could do would be to inject the ApplicationStateManager
and obtain the state objects from it, as needed.

On 8/23/05, Cherry Development <[EMAIL PROTECTED]> wrote:
> 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]
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to