1 23 24 package com.sun.enterprise.webservice.spi; 25 26 32 33 import java.util.ArrayList ; 34 import java.util.logging.Level ; 35 36 import javax.xml.ws.Endpoint; 37 import javax.xml.namespace.QName ; 38 39 import javax.xml.ws.spi.Provider; 40 import javax.xml.ws.spi.ServiceDelegate; 41 42 public class ProviderImpl extends Provider { 43 44 javax.xml.ws.spi.Provider delegateProvider; 45 46 50 public ProviderImpl() { 51 delegateProvider = new com.sun.xml.ws.spi.ProviderImpl(); 52 } 53 54 @Override 55 public Endpoint createEndpoint(String bindingId, Object implementor) { 56 return delegateProvider.createEndpoint(bindingId, implementor); 57 } 58 59 @Override 60 public javax.xml.ws.spi.ServiceDelegate createServiceDelegate( 61 java.net.URL wsdlDocumentLocation, 62 QName serviceName, Class serviceClass) { 63 64 javax.xml.ws.spi.ServiceDelegate delegate = 65 delegateProvider.createServiceDelegate(wsdlDocumentLocation, 66 serviceName, serviceClass); 67 68 return DefaultServiceDelegateFactory.getFactory().create(delegate); 69 } 70 71 @Override 72 public Endpoint createAndPublishEndpoint(String address, 73 Object implementor) { 74 return delegateProvider.createAndPublishEndpoint(address, implementor); 75 } 76 } 77 | Popular Tags |