Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 72386 invoked from network); 1 Aug 2000 17:34:43 -0000 Received: from adsl-63-198-47-229.dsl.snfc21.pacbell.net (HELO costin.dnt.ro) (63.198.47.229) by locus.apache.org with SMTP; 1 Aug 2000 17:34:43 -0000 Received: from eng.sun.com (costin [63.198.47.229]) by costin.dnt.ro (8.9.3+Sun/8.9.1) with ESMTP id KAA03188 for ; Tue, 1 Aug 2000 10:35:32 -0700 (PDT) Sender: costin@costin.dnt.ro Message-ID: <39870C51.68694E92@eng.sun.com> Date: Tue, 01 Aug 2000 10:43:45 -0700 From: Costin Manolache X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: suggestion for XMLMapper/Setparent References: <000c01bffb92$14deb580$3916cfc2@angina.meiko.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > I would only want the requests to be offered to the one > special interceptor and not the dozen or so default ones; > I'm using a separate contextmanager/interceptor/connector > at present. Do you think this makes more sense than trying > to make it work alongside the default request handling? > > I'm working on a snapshot that is about 2 months old and am > getting a creepy feeling that I'm missing out on many useful > improvements. I guess it would be better to wait a bit - I'm reviewing all interfaces and classes for tomcat 3.3, and we'll probably have few major changes ( many improvements were too dangerous for 3.2 ). The code in the main branch will be unstable until all the changes settle down - probably few weeks. If you have something that works for you - don't change :-) In general ContextManager is not supposed to change - the normal extension mechanism is to use Interceptors. Most of the time we deal with normal requests - if you have a special case it would be very interesting to learn about it and try to improve the architecture so we can handle it. Either by extending Interceptors, providing more callbacks or different semantics ( for example implement the same mechanism as in apache hooks - it seems apache 2.0 is now able to handle other protocols by using the same extension mechansim we use ). Again - if extending CM works for now - don't change it, maybe just make sure it works on 3.2. Costin