You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2005/04/26 03:14:52 UTC
cvs commit: ws-axis/java/src/org/apache/axis/configuration SimpleProvider.java
dims 2005/04/25 18:14:52
Modified: java/src/org/apache/axis/client Service.java
java/src/org/apache/axis/configuration SimpleProvider.java
Log:
adding convenience constructors
Revision Changes Path
1.110 +11 -0 ws-axis/java/src/org/apache/axis/client/Service.java
Index: Service.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/client/Service.java,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- Service.java 25 Apr 2005 20:54:26 -0000 1.109
+++ Service.java 26 Apr 2005 01:14:52 -0000 1.110
@@ -123,6 +123,17 @@
}
/**
+ * Constructs a Service using the supplied configuration and engine directly.
+ *
+ * @param engineConfiguration
+ * @param axisClient
+ */
+ public Service(EngineConfiguration engineConfiguration, AxisClient axisClient) {
+ this.config = engineConfiguration;
+ this.engine = axisClient;
+ }
+
+ /**
* Constructs a new Service object as above, but also passing in
* the EngineConfiguration which should be used to set up the
* AxisClient.
1.15 +9 -0 ws-axis/java/src/org/apache/axis/configuration/SimpleProvider.java
Index: SimpleProvider.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/configuration/SimpleProvider.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- SimpleProvider.java 25 May 2004 19:41:43 -0000 1.14
+++ SimpleProvider.java 26 Apr 2005 01:14:52 -0000 1.15
@@ -82,6 +82,15 @@
}
/**
+ * Construct a SimpleProvider using the supplied TypeMappingRegistry.
+ *
+ * @param typeMappingRegistry
+ */
+ public SimpleProvider(TypeMappingRegistry typeMappingRegistry) {
+ this.tmr = typeMappingRegistry;
+ }
+
+ /**
* Configure an AxisEngine. Right now just calls the default
* configuration if there is one, since we don't do anything special.
*/