AOP might also help you. Logging is one of the most common use cases.

--- El mié, 8/9/10, Glen Daniels <[email protected]> escribió:

> De: Glen Daniels <[email protected]>
> Asunto: Re: Modify Web Service Call
> Para: [email protected]
> Fecha: miércoles, 8 de septiembre, 2010 16:41
> Hi Benedikt,
> 
> On 9/8/2010 10:20 AM, Benedikt Heintel wrote:
> > If all web service instances are started in the same
> container, I need
> > to find out how to separate them for logging.
> > 
> > Since we cannot change the web services (they are
> jared and will not
> > contain source code), we need to find a way to enable
> the logging, based
> > on the information we receive with the SOAP message.
> 
> It is certainly very easy (as Deepal has described) to use
> a Handler to
> execute arbitrary code during the execution of a service
> request, so you just
> need to figure out how to enable/disable your logging for
> particular threads
> and you should be good to go.
> 
> Are you using a homegrown logging tool, or an open source
> framework?
> 
> --Glen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to