You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by de...@apache.org on 2005/01/31 07:25:15 UTC
svn commit: r149226 - in
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis:
deployment/DeploymentParser.java description/AxisGlobal.java
engine/EngineRegistry.java impl/engine/EngineRegistryImpl.java
Author: deepal
Date: Sun Jan 30 22:25:13 2005
New Revision: 149226
URL: http://svn.apache.org/viewcvs?view=rev&rev=149226
Log:
trnsports tag modifications
Modified:
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/engine/EngineRegistryImpl.java
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java?view=diff&r1=149225&r2=149226
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/deployment/DeploymentParser.java Sun Jan 30 22:25:13 2005
@@ -128,8 +128,7 @@
Parameter parameter = processParameter();
serverMetaData.addParameter(parameter);
} else if (TRANSPORTSTAG.equals(ST)) {
- ArrayList trnsportList = processTransport();
- serverMetaData.setTransportList(trnsportList);
+ dpengine.getEngineRegistry().setTransPorts(processTransport());
} else if (TYPEMAPPINGST.equals(ST)) {
throw new UnsupportedOperationException("Type Mappings are not allowed in server.xml");
} else if (MODULEST.equals(ST)) {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java?view=diff&r1=149225&r2=149226
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java Sun Jan 30 22:25:13 2005
@@ -40,21 +40,12 @@
protected ParameterInclude paramInclude;
protected PhasesInclude phasesInclude;
protected Vector modules;
- protected ArrayList transportList;
//TODO provide a way to store name (name attribute value server.xml)
public AxisGlobal(){
paramInclude = new ParameterIncludeImpl();
phasesInclude = new PhasesIncludeImpl();
modules = new Vector();
- }
-
- public ArrayList getTransportList() {
- return transportList;
- }
-
- public void setTransportList(ArrayList transportList) {
- this.transportList = transportList;
}
public void addModule(QName moduleref) {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java?view=diff&r1=149225&r2=149226
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/EngineRegistry.java Sun Jan 30 22:25:13 2005
@@ -55,4 +55,8 @@
* Ordred list of phases
*/
public ArrayList getPhases();
+
+ public ArrayList getTransPorts() ;
+ public void setTransPorts(ArrayList transPorts) ;
+
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/engine/EngineRegistryImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/engine/EngineRegistryImpl.java?view=diff&r1=149225&r2=149226
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/engine/EngineRegistryImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/engine/EngineRegistryImpl.java Sun Jan 30 22:25:13 2005
@@ -34,7 +34,8 @@
private HashMap transports = new HashMap();
private AxisGlobal global;
private ArrayList phases;
-
+ private ArrayList transPorts;
+
public EngineRegistryImpl(AxisGlobal global){
this.global = global;
phases = new ArrayList();
@@ -83,6 +84,14 @@
*/
public void setPhases(ArrayList list) {
phases = list;
+ }
+
+ public ArrayList getTransPorts() {
+ return transPorts;
+ }
+
+ public void setTransPorts(ArrayList transPorts) {
+ this.transPorts = transPorts;
}
}