The ordering is determined by the getRelativeOrder()
defined on the Deployer interface.
If you extend the standard deployer, e.g. AbstractParsingDeployer
you get a default ordering based on the type
which are defined on the interface:
| public interface Deployer
| {
| /** The parser order */
| public static final int PARSER_DEPLOYER = 2000;
|
| /** The class loader order */
| public static final int CLASSLOADER_DEPLOYER = 4000;
|
| /** The component order */
| public static final int COMPONENT_DEPLOYER = 4000;
|
| /** The real order */
| public static final int REAL_DEPLOYER = 10000;
|
Feel free to add new ones, e.g. AspectManager population something like?
| /** The preprocess classloader order */
| public static final int PREPROCESS_CLASSLOADING_DEPLOYER = 3900;
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977284#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...