Sorry to ask the obvious, but is there some reason you can't just pass
the ASO into the relevant service method:

class Page {
  @ASO aso;
  @Inject service;
  void onAction() {
    service.doSomethingWith(aso);
  }
}

I'm sure your situation's more complicated - just had to get the
obvious out of the way :)
Cheers.

On 9/12/07, César Lesc <[EMAIL PROTECTED]> wrote:
> I need to use data stored in an ASO (user information) to process the a
> requests in a service object, i guess the service object must be in
> perthread scope, because the ASO stores his data in the session, but the
> @ApplicationState annotation is not working inside the service. Finally i
> found the RequestGlobals Service to store and retrieve data in the session
> inside a service, but i feel that should be a better approach. May be i'm
> missing something.
>
> Thanks in advance
>
> César.
>

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

Reply via email to