You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hivemind.apache.org by Aleksej <al...@ivs.lt> on 2005/10/11 09:12:22 UTC

Hivemind and Tapestry4: Injecting current IRequestCycle into custom service

Sorry about question in this list, but it is really more about Hivemind 
than Tapestry4.
As I understand, there is IRequestCycle for each HTTP Request. I am also 
sure that
thread IRequestCycle injected into each IPage by Hivemind. The question is:
How to inject that IRequestCycle into another ( my own ) service. I need 
to inject
into page some object which allready has THAT page IRequestCycle 
injected in it.
There is lots of services in Tapestry4 so searching it could take for 
some time.
I hope someone know it allready. AS I understand, everything is about 
hivemind
configuration. I really need it!

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Re: Hivemind and Tapestry4: Injecting current IRequestCycle into custom service

Posted by Aleksej <al...@ivs.lt>.
So IRequestCycle is service now? Does it  means that I can declare 
setter for request cycle in my custom
service and it will be autowired? Such service must be threaded as I 
understand.

>It's been added now!  beta-13 is building as I type this.
>
>On 10/11/05, Adam Greene <ag...@professionalopensource.ca> wrote:
>  
>
>>Actually, Hivemind doesn't inject the IRequestCycle.  I made changes to
>>Tapestry so that the RequestCycle was available and submitted the changes to
>>Tapestry, but it hasn't been added to Tapestry yet.
>>
>>----- Original Message -----
>>From: "Aleksej" <al...@ivs.lt>
>>To: <hi...@jakarta.apache.org>
>>Sent: Tuesday, October 11, 2005 4:12 AM
>>Subject: Hivemind and Tapestry4: Injecting current IRequestCycle into custom
>>service
>>
>>
>>    
>>
>>>Sorry about question in this list, but it is really more about Hivemind
>>>than Tapestry4.
>>>As I understand, there is IRequestCycle for each HTTP Request. I am also
>>>sure that
>>>thread IRequestCycle injected into each IPage by Hivemind. The question
>>>is:
>>>How to inject that IRequestCycle into another ( my own ) service. I need
>>>to inject
>>>into page some object which allready has THAT page IRequestCycle injected
>>>in it.
>>>There is lots of services in Tapestry4 so searching it could take for some
>>>time.
>>>I hope someone know it allready. AS I understand, everything is about
>>>hivemind
>>>configuration. I really need it!
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
>--
>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: hivemind-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
>
>
>
>  
>


Re: Hivemind and Tapestry4: Injecting current IRequestCycle into custom service

Posted by Howard Lewis Ship <hl...@gmail.com>.
It's been added now!  beta-13 is building as I type this.

On 10/11/05, Adam Greene <ag...@professionalopensource.ca> wrote:
> Actually, Hivemind doesn't inject the IRequestCycle.  I made changes to
> Tapestry so that the RequestCycle was available and submitted the changes to
> Tapestry, but it hasn't been added to Tapestry yet.
>
> ----- Original Message -----
> From: "Aleksej" <al...@ivs.lt>
> To: <hi...@jakarta.apache.org>
> Sent: Tuesday, October 11, 2005 4:12 AM
> Subject: Hivemind and Tapestry4: Injecting current IRequestCycle into custom
> service
>
>
> > Sorry about question in this list, but it is really more about Hivemind
> > than Tapestry4.
> > As I understand, there is IRequestCycle for each HTTP Request. I am also
> > sure that
> > thread IRequestCycle injected into each IPage by Hivemind. The question
> > is:
> > How to inject that IRequestCycle into another ( my own ) service. I need
> > to inject
> > into page some object which allready has THAT page IRequestCycle injected
> > in it.
> > There is lots of services in Tapestry4 so searching it could take for some
> > time.
> > I hope someone know it allready. AS I understand, everything is about
> > hivemind
> > configuration. I really need it!
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
>
>


--
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: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Re: Hivemind and Tapestry4: Injecting current IRequestCycle into custom service

Posted by Adam Greene <ag...@professionalopensource.ca>.
Actually, Hivemind doesn't inject the IRequestCycle.  I made changes to 
Tapestry so that the RequestCycle was available and submitted the changes to 
Tapestry, but it hasn't been added to Tapestry yet.

----- Original Message ----- 
From: "Aleksej" <al...@ivs.lt>
To: <hi...@jakarta.apache.org>
Sent: Tuesday, October 11, 2005 4:12 AM
Subject: Hivemind and Tapestry4: Injecting current IRequestCycle into custom 
service


> Sorry about question in this list, but it is really more about Hivemind 
> than Tapestry4.
> As I understand, there is IRequestCycle for each HTTP Request. I am also 
> sure that
> thread IRequestCycle injected into each IPage by Hivemind. The question 
> is:
> How to inject that IRequestCycle into another ( my own ) service. I need 
> to inject
> into page some object which allready has THAT page IRequestCycle injected 
> in it.
> There is lots of services in Tapestry4 so searching it could take for some 
> time.
> I hope someone know it allready. AS I understand, everything is about 
> hivemind
> configuration. I really need it!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org