1 57 58 package org.apache.wsif; 59 60 import javax.wsdl.Definition; 61 import javax.wsdl.PortType; 62 import javax.wsdl.Service; 63 64 import org.apache.wsif.base.WSIFServiceFactoryImpl; 65 import org.apache.wsif.logging.Trc; 66 import org.apache.wsif.util.WSIFUtils; 67 68 75 public abstract class WSIFServiceFactory { 76 77 81 public static WSIFServiceFactory newInstance() { 82 Trc.entry(null); 83 84 WSIFServiceFactoryImpl wsf = new WSIFServiceFactoryImpl(); 85 86 WSIFUtils.createSimpleTypesMap(); 88 89 Trc.exit(wsf); 90 return wsf; 91 } 92 93 102 public abstract WSIFService getService( 103 String wsdlLoc, 104 String serviceNS, 105 String serviceName, 106 String portTypeNS, 107 String portTypeName) 108 throws WSIFException; 109 110 120 public abstract WSIFService getService( 121 String wsdlLoc, 122 ClassLoader cl, 123 String serviceNS, 124 String serviceName, 125 String portTypeNS, 126 String portTypeName) 127 throws WSIFException; 128 129 132 public abstract WSIFService getService(Definition def) 133 throws WSIFException; 134 135 138 public abstract WSIFService getService(Definition def, Service service) 139 throws WSIFException; 140 141 144 public abstract WSIFService getService( 145 Definition def, 146 Service service, 147 PortType portType) 148 throws WSIFException; 149 150 153 public abstract WSIFService getService( 154 Definition def, 155 String serviceNS, 156 String serviceName, 157 String portTypeNS, 158 String portTypeName) 159 throws WSIFException; 160 161 165 public void cachingOn(boolean on) { 166 } 167 } 168 | Popular Tags |