You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-dev@ws.apache.org by ow...@apache.org on 2003/03/07 11:56:33 UTC
cvs commit: xml-axis-wsif/java/samples/customfactory/client CustomServiceFactoryImpl.java
owenb 2003/03/07 02:56:33
Modified: java/samples/customfactory/client
CustomServiceFactoryImpl.java
Log:
This sample is invalid since we don't currently support custom service factories!!
It's breaking the build though so fixed compile error - must implement new feature methods
from WSIFServiceFactory
Revision Changes Path
1.2 +28 -0 xml-axis-wsif/java/samples/customfactory/client/CustomServiceFactoryImpl.java
Index: CustomServiceFactoryImpl.java
===================================================================
RCS file: /home/cvs/xml-axis-wsif/java/samples/customfactory/client/CustomServiceFactoryImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CustomServiceFactoryImpl.java 20 Dec 2002 12:53:21 -0000 1.1
+++ CustomServiceFactoryImpl.java 7 Mar 2003 10:56:32 -0000 1.2
@@ -3,6 +3,8 @@
import org.apache.wsif.WSIFServiceFactory;
import org.apache.wsif.WSIFService;
import org.apache.wsif.WSIFException;
+
+import java.util.Map;
import javax.wsdl.*;
public class CustomServiceFactoryImpl extends WSIFServiceFactory {
@@ -145,5 +147,31 @@
portTypeNS,
portTypeName);
return wsi;
+ }
+
+ /**
+ * @see org.apache.wsif.WSIFServiceFactory#setFeature(String, Object)
+ */
+ public void setFeature(String name, Object value) {
+ }
+
+ /**
+ * @see org.apache.wsif.WSIFServiceFactory#setFeatures(Map)
+ */
+ public void setFeatures(Map map) {
+ }
+
+ /**
+ * @see org.apache.wsif.WSIFServiceFactory#getFeature(String)
+ */
+ public Object getFeature(String name) {
+ return null;
+ }
+
+ /**
+ * @see org.apache.wsif.WSIFServiceFactory#getFeatures()
+ */
+ public Map getFeatures() {
+ return null;
}
}