axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r292164 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
Date Wed, 28 Sep 2005 11:12:23 GMT
Author: deepal
Date: Wed Sep 28 04:12:16 2005
New Revision: 292164

URL: http://svn.apache.org/viewcvs?rev=292164&view=rev
Log:
few refactoring 

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java?rev=292164&r1=292163&r2=292164&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
Wed Sep 28 04:12:16 2005
@@ -46,11 +46,11 @@
 public class DescriptionBuilder implements DeploymentConstants{
 
     protected Log log = LogFactory.getLog(getClass());
-    protected InputStream serviceInputSteram;
+    protected InputStream des_inputStream;
     protected DeploymentEngine engine;
 
     public DescriptionBuilder(InputStream serviceInputSteram, DeploymentEngine engine) {
-        this.serviceInputSteram = serviceInputSteram;
+        this.des_inputStream = serviceInputSteram;
         this.engine = engine;
     }
 
@@ -58,14 +58,15 @@
     }
 
     /**
-     * This will creat OMElemnt for a given services.xml
+     * This will creat OMElemnt for a given descrition document (axis2.xml , services.xml
and
+     * module.xml)
      *
      * @return OMElement <code>OMElement</code>
      * @throws javax.xml.stream.XMLStreamException
      */
     public OMElement buildOM() throws XMLStreamException {
         XMLStreamReader xmlReader =
-                XMLInputFactory.newInstance().createXMLStreamReader(serviceInputSteram);
+                XMLInputFactory.newInstance().createXMLStreamReader(des_inputStream);
         OMFactory fac = OMAbstractFactory.getOMFactory();
         StAXOMBuilder staxOMBuilder = new StAXOMBuilder(fac, xmlReader);
         OMElement element = staxOMBuilder.getDocumentElement();



Mime
View raw message