Hi,
   
  You could create a Singleton class which is instanciated by your service and 
then use that class to create a thread for whatever you need to do. I currently 
create a Singleton in an axis2 service to read in config and use it in the 
classes which make up my service.
   
  Hope this helps. 

Arlindo Luis Marcon Junior <[EMAIL PROTECTED]> wrote:
  Hi All...

Doubt:
Is possible to have a "new Thread" inside one service deployed in Axis2?
Example: I have a Web Service which attend many clientes,,, with 
scope="request"...
In other words,,, many instances of the same service,,, one instance for 
each cliente...
And I need "one" ( only one ) Thread ( or something like this ) to 
perform some tasks for me ( like monitoring my environment )...

Question:
Is possible do it?
If Yes, where/how I could start, and stop, this Thread?
Or has other "elegant" manner to do it?

Any cue is welcome...
Thanks all...

-- 
Arlindo Luis Marcon Junior
E-mail: [EMAIL PROTECTED]
Internet Web Page: http://lattes.cnpq.br/6483462042489662
ICQ: 138864173
Curitiba - ParanĂ¡ - Brasil



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



 Send instant messages to your online friends http://au.messenger.yahoo.com 

Reply via email to