geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment J2EELoader.java
Date Wed, 01 Oct 2003 19:02:39 GMT
ammulder    2003/10/01 12:02:39

  Modified:    modules/core/src/java/org/apache/geronimo/xml/deployment
                        J2EELoader.java
  Log:
  Load the missing fields that were just added to the POJOs
  
  Revision  Changes    Path
  1.9       +5 -1      incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/J2EELoader.java
  
  Index: J2EELoader.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/J2EELoader.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- J2EELoader.java	1 Oct 2003 03:22:48 -0000	1.8
  +++ J2EELoader.java	1 Oct 2003 19:02:39 -0000	1.9
  @@ -193,6 +193,7 @@
       }
   
       public static ServiceRef loadServiceRef(Element e, ServiceRef serviceRef) {
  +        loadDisplayable(e, serviceRef);
           serviceRef.setServiceRefName(LoaderUtil.getChildContent(e, "service-ref-name"));
           serviceRef.setServiceInterface(LoaderUtil.getChildContent(e, "service-interface"));
           serviceRef.setWSDLFile(LoaderUtil.getChildContent(e, "wsdl-file"));
  @@ -224,6 +225,7 @@
           for (int i = 0; i < length; i++) {
               Element e = (Element) nodes.item(i);
               Handler handler = new Handler();
  +            loadDisplayable(e, handler);
               handler.setHandlerName(LoaderUtil.getChildContent(e, "handler-name"));
               handler.setHandlerClass(LoaderUtil.getChildContent(e, "handler-class"));
               handler.setInitParam(loadInitParams(e));
  @@ -242,6 +244,7 @@
           for (int i = 0; i < length; i++) {
               Element e = (Element) nodes.item(i);
               ParamValue handler = new ParamValue();
  +            loadDescribable(e, handler);
               handler.setParamName(LoaderUtil.getChildContent(e, "param-name"));
               handler.setParamValue(LoaderUtil.getChildContent(e, "param-value"));
               result[i] = handler;
  @@ -314,6 +317,7 @@
       public static MessageDestinationRef loadMessageDestinationRef(Element e, MessageDestinationRef
msgDestRef) {
           msgDestRef.setMessageDestinationRefName(LoaderUtil.getChildContent(e, "message-destination-ref-name"));
           msgDestRef.setMessageDestinationType(LoaderUtil.getChildContent(e, "message-destination-type"));
  +        msgDestRef.setMessageDestinationUsage(LoaderUtil.getChildContent(e, "message-destination-usage"));
           msgDestRef.setMessageDestinationLink(LoaderUtil.getChildContent(e, "message-destination-link"));
           return msgDestRef;
       }
  
  
  

Mime
View raw message