Geir Magnusson Jr. wrote: > On 3/12/02 8:39 AM, "Gabriel Sidler" <[EMAIL PROTECTED]> wrote: > > >>Nathan, >>these make nice additions to the planned VelTools library. >> >>I'd like to suggest that these tools also implement the >>ContextTool interface. See also my next mail regarding >>changes to the ContextTool interface. >> > > I think we should minimize as much as possible any special interfaces that > tools must implement... > > I'll wait for your email before commenting further, but wanted to let you > know how I feel about this.
> > Tools should be able to be simple - we should be able to reuse any existing > tools that we have or find... > > Geir Geir, I agree that any class with public methods should be usable as a context tool. The ContextTool interface is not a MUST but a COULD. If a context tool implements the interface there are some benefits like access to logging and the possbility to reuse static tools across multiple requests. Please check out my proposal. For my frequently used tools I certainly would implement the interface. For infrequently used tools probably not. Gabe -- Gabriel Sidler Software Engineer, Eivycom GmbH, Zurich, Switzerland -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
