do you mean pooling? g,kris-"Davor Hrg" [EMAIL PROTECTED] schrieb: -An: "Tapestry users" users@tapestry.apache.orgVon: "Davor Hrg" [EMAIL PROTECTED]Datum: 19.08.2007 05:37PMThema: Re: [T5] how to Eager Loading PERTHREAD_SCOPE service?do you want your
Hi,
try AOP ... (e.g. AspectJ)
Jirka
Jun Tsai napsal(a):
2007/8/19, Ben Tomasini [EMAIL PROTECTED]:
It seems to me that the normal eager load behavior would be irrelevant for
a
perthread service because a perthread service must be bound to a thread
which is using the registry, and the
2007/8/19, Ben Tomasini [EMAIL PROTECTED]:
It seems to me that the normal eager load behavior would be irrelevant for
a
perthread service because a perthread service must be bound to a thread
which is using the registry, and the registry cannot be used until it is
built.
I wanto to eager
do you want your service loaded for each thread,
and for each thread a new instance created ?
why do you need this ?
consider avoiding this ?
who creates the threads ?
Davor Hrg
On 8/19/07, Jun Tsai [EMAIL PROTECTED] wrote:
2007/8/19, Ben Tomasini [EMAIL PROTECTED]:
It seems to me that
I had a perthread scope service ,I find the @EagerLoad can't let the
service eager loading. how to do it?
Thanks
--
regards,
Jun Tsai
It seems to me that the normal eager load behavior would be irrelevant for a
perthread service because a perthread service must be bound to a thread
which is using the registry, and the registry cannot be used until it is
built.
On 8/18/07, Jun Tsai [EMAIL PROTECTED] wrote:
I had a perthread
EagerLoad and PerThread just don't fit together,
you should move the code that needs to be eager loaded to another service.
and use it from your threaded service.
provide some more insight into your use case so we can assist you
concretely.
Davor Hrg
On 8/19/07, Ben Tomasini [EMAIL PROTECTED]