User: salborini
  Date: 00/08/11 18:27:11

  Modified:    src/main/org/jboss/metadata ApplicationMetaData.java
  Log:
  Container configurations are optional
  
  Revision  Changes    Path
  1.2       +3 -3      jboss/src/main/org/jboss/metadata/ApplicationMetaData.java
  
  Index: ApplicationMetaData.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/metadata/ApplicationMetaData.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ApplicationMetaData.java  2000/08/12 00:37:57     1.1
  +++ ApplicationMetaData.java  2000/08/12 01:27:11     1.2
  @@ -25,7 +25,7 @@
    *      
    *   @see <related>
    *   @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a>
  - *   @version $Revision: 1.1 $
  + *   @version $Revision: 1.2 $
    */
   public class ApplicationMetaData extends MetaData {
        // Constants -----------------------------------------------------
  @@ -209,7 +209,7 @@
                // all the tags are optional
                
                // find the container configurations (we need them first to use them 
in the beans)
  -             Element confs = getUniqueChild(element, "container-configurations");
  +             Element confs = getOptionalChild(element, "container-configurations");
                if (confs != null) {
                        iterator = getChildrenByTagName(confs, 
"container-configuration");
                        while (iterator.hasNext()) {
  @@ -221,7 +221,7 @@
                }
                
                // update the enterprise beans
  -             Element entBeans = getUniqueChild(element, "enterprise-beans");
  +             Element entBeans = getOptionalChild(element, "enterprise-beans");
                if (entBeans != null) {
                        iterator = getChildrenByTagName(entBeans, "entity");
                        while (iterator.hasNext()) {
  
  
  

Reply via email to