[Jboss-cvs] JBossAS SVN: r56291 - branches/Branch_4_0/server/src/main/org/jboss/deployment
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Aug 26 08:39:22 EDT 2006
Author: vicky.kak at jboss.com
Date: 2006-08-26 08:39:19 -0400 (Sat, 26 Aug 2006)
New Revision: 56291
Modified:
branches/Branch_4_0/server/src/main/org/jboss/deployment/J2eeApplicationMetaData.java
Log:
Changes done for JBAS-2904
Modified: branches/Branch_4_0/server/src/main/org/jboss/deployment/J2eeApplicationMetaData.java
===================================================================
--- branches/Branch_4_0/server/src/main/org/jboss/deployment/J2eeApplicationMetaData.java 2006-08-26 12:37:54 UTC (rev 56290)
+++ branches/Branch_4_0/server/src/main/org/jboss/deployment/J2eeApplicationMetaData.java 2006-08-26 12:39:19 UTC (rev 56291)
@@ -71,6 +71,13 @@
/** The jmx name */
private String jmxName;
+ /**
+ * Deployment Ordering nature will be based on Deployment Sorter
+ * or on the ordering of modules defined in application.xml and
+ * jboss-app.xml.
+ */
+ private String moduleOrder;
+
// Static --------------------------------------------------------
// Public --------------------------------------------------------
@@ -125,6 +132,10 @@
return jmxName;
}
+ public String getModuleOrder()
+ {
+ return moduleOrder;
+ }
/**
* Imports either the application.xml or jboss-app.xml from the given element.
*
@@ -238,5 +249,16 @@
moduleMetaData.importXml((Element) it.next());
modules.put(moduleMetaData.getFileName(), moduleMetaData);
}
+
+ //Get the Deployment Ordering style
+ Element moduleOrderElement = getOptionalChild(rootElement, "module-order");
+ if (moduleOrderElement != null)
+ {
+ moduleOrder = getElementContent(moduleOrderElement);
+ }
+ else
+ {
+ moduleOrder = "implicit";
+ }
}
}
More information about the jboss-cvs-commits
mailing list