[jboss-cvs] JBossAS SVN: r100099 - projects/aop/branches/classpool_JBAOP-742/deployers/src/main/java/org/jboss/aop/asintegration/jboss5.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jan 28 20:29:05 EST 2010
Author: flavia.rainone at jboss.com
Date: 2010-01-28 20:29:05 -0500 (Thu, 28 Jan 2010)
New Revision: 100099
Modified:
projects/aop/branches/classpool_JBAOP-742/deployers/src/main/java/org/jboss/aop/asintegration/jboss5/AOPAnnotationMetaDataParserDeployer.java
Log:
[JBAOP-768] Move to POST_PARSE stage
Modified: projects/aop/branches/classpool_JBAOP-742/deployers/src/main/java/org/jboss/aop/asintegration/jboss5/AOPAnnotationMetaDataParserDeployer.java
===================================================================
--- projects/aop/branches/classpool_JBAOP-742/deployers/src/main/java/org/jboss/aop/asintegration/jboss5/AOPAnnotationMetaDataParserDeployer.java 2010-01-29 01:17:50 UTC (rev 100098)
+++ projects/aop/branches/classpool_JBAOP-742/deployers/src/main/java/org/jboss/aop/asintegration/jboss5/AOPAnnotationMetaDataParserDeployer.java 2010-01-29 01:29:05 UTC (rev 100099)
@@ -59,10 +59,18 @@
public AOPAnnotationMetaDataParserDeployer(int xmlParserOrder)
{
super.setOutput(AOPDeployment.class);
- super.setStage(DeploymentStages.PARSE);
- //Make this come after the AOPXMLMetaDataParserDeployer
- super.setRelativeOrder(xmlParserOrder + 1);
+ super.setStage(DeploymentStages.POST_PARSE);
+ if (xmlParserOrder != 0)
+ {
+ //Make this come after the AOPXMLMetaDataParserDeployer if the relative order is set
+ super.setRelativeOrder(xmlParserOrder + 1);
+ }
}
+
+ public AOPAnnotationMetaDataParserDeployer()
+ {
+ this(0);
+ }
public void deploy(DeploymentUnit unit) throws DeploymentException
{
More information about the jboss-cvs-commits
mailing list