geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment GeronimoEjbJarLoader.java
Date Tue, 18 Nov 2003 02:15:13 GMT
jboynes     2003/11/17 18:15:13

  Modified:    modules/core/src/java/org/apache/geronimo/xml/deployment
                        GeronimoEjbJarLoader.java
  Log:
  Look at child element, and param is an attr
  
  Revision  Changes    Path
  1.9       +3 -3      incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/GeronimoEjbJarLoader.java
  
  Index: GeronimoEjbJarLoader.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/GeronimoEjbJarLoader.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- GeronimoEjbJarLoader.java	17 Nov 2003 17:29:09 -0000	1.8
  +++ GeronimoEjbJarLoader.java	18 Nov 2003 02:15:13 -0000	1.9
  @@ -188,7 +188,7 @@
               query.setInputBinding(loadInputBinding(LoaderUtil.getChild(root, "input-binding")));
               Element outputBinding = LoaderUtil.getChild(root, "output-binding");
               query.setAbstractSchemaName(LoaderUtil.getChildContent(outputBinding, "abstract-schema-name"));
  -            query.setOutputBinding(loadBinding(outputBinding));
  +            query.setOutputBinding(loadBinding(LoaderUtil.getChild(outputBinding, "binding")));
               query.setMultivalue(Boolean.getBoolean(LoaderUtil.getChildContent(outputBinding,
"multivalue")));
               queries[i] = query;
           }
  @@ -207,7 +207,7 @@
       private static Binding loadBinding(Element root) {
           Binding binding = new Binding();
           binding.setType(LoaderUtil.getAttribute(root, "type"));
  -        binding.setParam(Integer.parseInt(LoaderUtil.getChildContent(root, "param")));
  +        binding.setParam(Integer.parseInt(LoaderUtil.getAttribute(root, "param")));
           return binding;
       }
   
  
  
  

Mime
View raw message