On 03-12-2008 at 19:54, Levi Hoogenberg wrote:
> I've been thinking about this lately - an @AutoloadOrder(int value) would
> solve this quite nicely (and has the added benefit of being so generic that
> it could be used for other autoloaded, ordered configurable components as
> well).

All true.

On the other hand, the order of interceptors is only relevant when there are
dependencies. It is therefore more useful to have this annotation instead:
@AutoloadDependencies(Class<? extends Interceptor>[] dependencies)

And even then, the dependent interceptors are usually your own (and project
dependent). As a result, I find it just as easy to define the interceptors in
web.xml myself.


Oscar


-- 
   ,-_
  /() ) Oscar Westra van holthe - Kind      http://www.xs4all.nl/~kindop/
 (__ (
=/  ()  Don't let your boss fuck you; that's anti-capitalist.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to