struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <>
Subject Re: plugin loading order
Date Sun, 05 Apr 2009 01:54:08 GMT
On Saturday 04 April 2009 21:50:22 Musachy Barroso wrote:
> I have been trying a few different ways to get the Convention plugin
> to work with the OSGi plugin, and there are some hacks that can be
> done but I don't like them. I want to implement (I actually have it
> implemented it already somewhere) a simple way for the config files to
> specify a relative order of loading. This way I can at least make sure
> that certaing plugins are loaded before others. It would look like
> this in the xml:
> OSGi:
> <struts loadOrder="10">...</struts>
> Convention:
> <struts loadOrder="20">...</struts>
> With this in place, we can enable some sort of communication between
> plugins, by adding common interfaces to core. Any thoughts?
> musachy

I don't see a problem with that, I would assume a default of something like 99 
if the struts-plugin.xml doesn't specify it. 


Wes Wannemacher
Author - Struts 2 In Practice 
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message