axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r168307 - in /webservices/axis/trunk/java/modules/core/src/org/apache/axis: addressing/ clientapi/ context/ deployment/ deployment/repository/utill/ description/ engine/ handlers/addressing/ receivers/ util/
Date Thu, 05 May 2005 09:52:13 GMT
Author: hemapani
Date: Thu May  5 02:52:12 2005
New Revision: 168307

URL: http://svn.apache.org/viewcvs?rev=168307&view=rev
Log:
make the EngineContextFactory class and remove impl of the Factory

Removed:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/EngineContextFactoryImpl.java
Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/addressing/MessageInformationHeadersCollection.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/MessageContext.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentEngine.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/repository/utill/ArchiveReader.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisGlobal.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisOperation.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AddressingBasedDispatcher.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/EngineContextFactory.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/MessageSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/RequestURIBasedDispatcher.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/ServiceHandlersChainBuilder.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingInHandler.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingOutHandler.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageRecevier.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/addressing/MessageInformationHeadersCollection.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/addressing/MessageInformationHeadersCollection.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/addressing/MessageInformationHeadersCollection.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/addressing/MessageInformationHeadersCollection.java
Thu May  5 02:52:12 2005
@@ -15,7 +15,6 @@
  */
 package org.apache.axis.addressing;
 
-import org.apache.axis.addressing.EndpointReference;
 import org.apache.axis.addressing.miheaders.RelatesTo;
 import org.apache.axis.om.SOAPHeader;
 

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java Thu May
 5 02:52:12 2005
@@ -9,7 +9,6 @@
 import org.apache.axis.addressing.EndpointReference;
 import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.addressing.miheaders.RelatesTo;
-import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.context.EngineContext;
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.context.OperationContextFactory;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/MessageContext.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/MessageContext.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/MessageContext.java
Thu May  5 02:52:12 2005
@@ -21,7 +21,6 @@
 import org.apache.axis.addressing.EndpointReference;
 import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.addressing.miheaders.RelatesTo;
-import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.description.AxisOperation;
 import org.apache.axis.description.AxisTransportIn;
 import org.apache.axis.description.AxisTransportOut;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/OperationContext.java
Thu May  5 02:52:12 2005
@@ -18,12 +18,12 @@
  *
  */
 
+import java.util.ArrayList;
+import java.util.List;
+
 import org.apache.axis.description.AxisOperation;
 import org.apache.axis.engine.AxisFault;
 import org.apache.wsdl.WSDLConstants;
-
-import java.util.ArrayList;
-import java.util.List;
 
 /**
  * An OperationContext represents a running "instance" of an operation. This

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/context/ServiceContext.java
Thu May  5 02:52:12 2005
@@ -18,17 +18,7 @@
  * 
  */
 
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-
-import org.apache.axis.description.AxisOperation;
 import org.apache.axis.description.AxisService;
-import org.apache.axis.description.PhasesInclude;
-import org.apache.axis.description.PhasesIncludeImpl;
-import org.apache.axis.engine.AxisFault;
 
 public class ServiceContext  extends AbstractContext{
     private AxisService serviceConfig;   
@@ -36,6 +26,7 @@
     public ServiceContext(AxisService serviceConfig,EngineContext engineContext) {
         super(engineContext);
         this.serviceConfig = serviceConfig;
+
     }
 
     /**

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentEngine.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentEngine.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentEngine.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentEngine.java
Thu May  5 02:52:12 2005
@@ -30,8 +30,8 @@
 import javax.xml.stream.XMLStreamException;
 
 import org.apache.axis.deployment.listener.RepositoryListenerImpl;
-import org.apache.axis.deployment.repository.utill.HDFileItem;
 import org.apache.axis.deployment.repository.utill.ArchiveReader;
+import org.apache.axis.deployment.repository.utill.HDFileItem;
 import org.apache.axis.deployment.repository.utill.WSInfo;
 import org.apache.axis.deployment.scheduler.DeploymentIterator;
 import org.apache.axis.deployment.scheduler.Scheduler;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java
Thu May  5 02:52:12 2005
@@ -39,9 +39,9 @@
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.engine.EngineConfigurationImpl;
 import org.apache.axis.engine.MessageReceiver;
+import org.apache.axis.phaseresolver.PhaseMetadata;
 import org.apache.axis.transport.TransportReceiver;
 import org.apache.axis.transport.TransportSender;
-import org.apache.axis.phaseresolver.PhaseMetadata;
 
 
 /**

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/repository/utill/ArchiveReader.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/repository/utill/ArchiveReader.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/repository/utill/ArchiveReader.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/repository/utill/ArchiveReader.java
Thu May  5 02:52:12 2005
@@ -24,9 +24,9 @@
 import org.apache.axis.deployment.DeploymentEngine;
 import org.apache.axis.deployment.DeploymentException;
 import org.apache.axis.deployment.DeploymentParser;
+import org.apache.axis.description.AxisDescWSDLComponentFactory;
 import org.apache.axis.description.AxisModule;
 import org.apache.axis.description.AxisService;
-import org.apache.axis.description.AxisDescWSDLComponentFactory;
 import org.apache.axis.wsdl.builder.wsdl4j.WSDL1ToWOMBuilder;
 
 public class ArchiveReader implements DeploymentConstants {

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisGlobal.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisGlobal.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisGlobal.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisGlobal.java
Thu May  5 02:52:12 2005
@@ -15,14 +15,14 @@
 */
 package org.apache.axis.description;
 
-import org.apache.axis.engine.MessageReceiver;
-
 import java.util.ArrayList;
 import java.util.Collection;
-import java.util.List;
 import java.util.HashMap;
+import java.util.List;
 
 import javax.xml.namespace.QName;
+
+import org.apache.axis.engine.MessageReceiver;
 
 /**
  * <p>This holds the information shown in the global scope. The information are all

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisOperation.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisOperation.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/description/AxisOperation.java
Thu May  5 02:52:12 2005
@@ -6,9 +6,8 @@
 
 import javax.xml.namespace.QName;
 
-import org.apache.axis.context.OperationContext;
-import org.apache.axis.context.OperationContextFactory;
 import org.apache.axis.context.MessageContext;
+import org.apache.axis.context.OperationContext;
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.engine.MessageReceiver;
 import org.apache.wsdl.WSDLOperation;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AddressingBasedDispatcher.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AddressingBasedDispatcher.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AddressingBasedDispatcher.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AddressingBasedDispatcher.java
Thu May  5 02:52:12 2005
@@ -17,12 +17,7 @@
 
 import javax.xml.namespace.QName;
 
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.context.EngineContext;
 import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.AxisOperation;
-import org.apache.axis.description.AxisService;
 import org.apache.axis.description.HandlerMetadata;
 import org.apache.axis.handlers.AbstractHandler;
 

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/EngineContextFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/EngineContextFactory.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/EngineContextFactory.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/EngineContextFactory.java
Thu May  5 02:52:12 2005
@@ -15,18 +15,20 @@
  */
 package org.apache.axis.engine;
 
+import org.apache.axis.context.ContextBuilder;
 import org.apache.axis.context.EngineContext;
+import org.apache.axis.deployment.DeploymentException;
 
 /**
  * Interface EngineContextFactory
  */
-public interface EngineContextFactory {
-    /**
-     * Method createContextBuilder
-     *
-     * @param file
-     * @return
-     * @throws AxisFault
-     */
-    public EngineContext createContextBuilder(String file) throws AxisFault;
+public class EngineContextFactory {
+     public EngineContext createContextBuilder(String file) throws AxisFault {
+        try {
+            ContextBuilder builder = new ContextBuilder();
+            return builder.buildEngineContext(file);
+        } catch (DeploymentException e) {
+            throw AxisFault.makeFault(e);
+        }
+    }
 }

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/MessageSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/MessageSender.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/MessageSender.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/MessageSender.java
Thu May  5 02:52:12 2005
@@ -20,8 +20,8 @@
 
 import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.context.EngineContext;
-import org.apache.axis.context.OperationContext;
 import org.apache.axis.context.MessageContext;
+import org.apache.axis.context.OperationContext;
 
 /**
  * Class Sender

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/RequestURIBasedDispatcher.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/RequestURIBasedDispatcher.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/RequestURIBasedDispatcher.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/RequestURIBasedDispatcher.java
Thu May  5 02:52:12 2005
@@ -17,11 +17,7 @@
 
 import javax.xml.namespace.QName;
 
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.context.EngineContext;
 import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.AxisOperation;
 import org.apache.axis.description.AxisService;
 import org.apache.axis.description.HandlerMetadata;
 import org.apache.axis.handlers.AbstractHandler;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/ServiceHandlersChainBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/ServiceHandlersChainBuilder.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/ServiceHandlersChainBuilder.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/ServiceHandlersChainBuilder.java
Thu May  5 02:52:12 2005
@@ -18,17 +18,11 @@
  */
 package org.apache.axis.engine;
 
-import java.util.Collection;
-import java.util.Iterator;
-
 import org.apache.axis.context.EngineContext;
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.AxisGlobal;
-import org.apache.axis.description.AxisModule;
 import org.apache.axis.description.AxisOperation;
 import org.apache.axis.handlers.AbstractHandler;
-import org.apache.axis.modules.Module;
 
 public class ServiceHandlersChainBuilder extends AbstractHandler {
     

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingInHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingInHandler.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingInHandler.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingInHandler.java
Thu May  5 02:52:12 2005
@@ -9,7 +9,6 @@
 import org.apache.axis.addressing.EndpointReference;
 import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.addressing.miheaders.RelatesTo;
-import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.handlers.AbstractHandler;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingOutHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingOutHandler.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingOutHandler.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/handlers/addressing/AddressingOutHandler.java
Thu May  5 02:52:12 2005
@@ -1,13 +1,15 @@
 package org.apache.axis.handlers.addressing;
 
 import java.util.Iterator;
+
 import javax.xml.namespace.QName;
+
 import org.apache.axis.addressing.AddressingConstants;
 import org.apache.axis.addressing.AnyContentType;
 import org.apache.axis.addressing.EndpointReference;
+import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.addressing.ServiceName;
 import org.apache.axis.addressing.miheaders.RelatesTo;
-import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.handlers.AbstractHandler;
@@ -16,9 +18,6 @@
 import org.apache.axis.om.OMNamespace;
 import org.apache.axis.om.SOAPHeader;
 import org.apache.axis.om.SOAPHeaderBlock;
-
-import javax.xml.namespace.QName;
-import java.util.Iterator;
 
 /**
  * Copyright 2001-2004 The Apache Software Foundation.

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageRecevier.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageRecevier.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageRecevier.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/RawXMLINOutMessageRecevier.java
Thu May  5 02:52:12 2005
@@ -22,7 +22,11 @@
 import org.apache.axis.description.AxisOperation;
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.engine.MessageReceiver;
-import org.apache.axis.om.*;
+import org.apache.axis.om.OMAbstractFactory;
+import org.apache.axis.om.OMElement;
+import org.apache.axis.om.OMNamespace;
+import org.apache.axis.om.SOAPEnvelope;
+import org.apache.axis.om.SOAPFactory;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.wsdl.WSDLService;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java?rev=168307&r1=168306&r2=168307&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java Thu May 
5 02:52:12 2005
@@ -15,8 +15,6 @@
  */
 package org.apache.axis.util;
 
-import java.util.ArrayList;
-
 import javax.xml.namespace.QName;
 
 import org.apache.axis.Constants;



Mime
View raw message