tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/hooks Hooks.java
Date Thu, 28 Dec 2000 18:21:35 GMT
on 12/27/2000 10:15 PM, "costin@locus.apache.org" <costin@locus.apache.org>
wrote:

> Added:       src/share/org/apache/tomcat/util/hooks Hooks.java
> Log:
> First attempt to refactor hooks. Moving them in a util package is not a
> bad idea ( and it's inspired by the new organization in 2.0 - I was
> initially surprized to find ap_hook.h in apr-utils, but it's quite a generic
> concept ).
> 
> The only disadvantage of using "generic" hooks is that a cast is
> needed ( to BaseInterceptor ), but it gives a lot more flexibility.
> I think there is a simple workaround for that.
> 

Why does this scare me into thinking that if people start to base their code
on top of this that they will be tying themselves to a single servlet
engine? Isn't that something that we were trying to avoid?

Correct me if I'm wrong.

thanks,

-jon


Mime
View raw message