User: vharcq
Date: 01/06/19 00:38:22
Modified: src/main/org/jboss/ejb/plugins/jaws/metadata
JawsApplicationMetaData.java
Log:
1. Update DTD (Thanks to Mike Swainston-Rainford).
2. Change type-mapping to type-mapping-definition to avoid 2 different meaning of
type-mapping.
3. Remove some not needed import statements.
Revision Changes Path
1.6 +3 -3
jboss/src/main/org/jboss/ejb/plugins/jaws/metadata/JawsApplicationMetaData.java
Index: JawsApplicationMetaData.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jaws/metadata/JawsApplicationMetaData.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- JawsApplicationMetaData.java 2001/03/26 15:19:36 1.5
+++ JawsApplicationMetaData.java 2001/06/19 07:38:22 1.6
@@ -30,7 +30,7 @@
*
* @see <related>
* @author <a href="[EMAIL PROTECTED]">Sebastien Alborini</a>
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
*/
public class JawsApplicationMetaData extends MetaData implements XmlLoadable {
// Constants -----------------------------------------------------
@@ -137,7 +137,7 @@
Element typeMaps = getOptionalChild(element, "type-mappings");
if (typeMaps != null) {
- iterator = getChildrenByTagName(typeMaps, "type-mapping");
+ iterator = getChildrenByTagName(typeMaps,
"type-mapping-definition");
while (iterator.hasNext()) {
Element typeMappingElement = (Element)iterator.next();
@@ -145,7 +145,7 @@
try {
typeMapping.importXml(typeMappingElement);
} catch (DeploymentException e) {
- throw new DeploymentException("Error in
jaws.xml for type-mapping " + typeMapping.getName() + ": " + e.getMessage());
+ throw new DeploymentException("Error in
jaws.xml for type-mapping-definition " + typeMapping.getName() + ": " +
e.getMessage());
}
typeMappings.put(typeMapping.getName(), typeMapping);
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development