[jboss-dev-forums] [Design of POJO Server] - Re: Ordering of nested deployments
adrian@jboss.org
do-not-reply at jboss.com
Tue Oct 10 11:52:40 EDT 2006
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#3977284
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977284
More information about the jboss-dev-forums
mailing list