How does an app would scan its content? (dont say a sci it doesnt match a lot of cases) Le 21 août 2013 20:00, "Mark Thomas" <ma...@apache.org> a écrit :
> On 21/08/2013 18:46, Romain Manni-Bucau wrote: > > Hi > > > > Browsing some code sources (groovy, xbean, tomee,...and i don'tepeak of > > github) I found getURLs and addURL quite common and think it should be > > supported by tomcat by default. Adding getURLs in WebResources wouldnt > hurt > > and would make the getURLs of the classloader trivial. The addURLs should > > just use a particular WebResource. > > > > Do you think it is possible to get it in t8? > > What exactly are you proposing? > > There is no such class as WebResources. > > getURLs() on what, returning what? > > addURLs() on what, doing what? > > The Tomcat 7 approach was based on URLs and they were generally a pain > to work with - particularly from a performance point of view. There > would need to be a valid use case that couldn't be met by the existing > code to justify it. > > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >