tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McDowall" <>
Subject How to access WebService implementation from Context?
Date Mon, 01 May 2006 14:45:04 GMT

I have a WebService that implements a specific interface (Registerable),
and a Valve who's actions depend upon whether the WebService dealing
with a given request implements this Registerable interface.  What I
need to be able to do, in the invoke method of the Valve, is somehow

if(Request.getContext() ... instanceof Registerable)
   // Do some Registration stuff

Is there anyway to do this sort of operation?  I tried searching through
Javadocs, Source-Code, and mailing lists but could not find any answers.
Thanks in advance.


Andy McDowall. 

--- Disclaimer ---

Unless otherwise agreed expressly in writing by a Director of Edina Software, this communication
is to be treated as confidential and the information in it may not be used or disclosed except
for the purpose for which it has been sent. If you have reason to believe that you are not
the intended recipient of this communication, please contact the sender immediately. 

This email has been scanned by the MessageLabs Email Security System.
For more information please visit 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message