Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package javax.xml.ws.spi;
import org.w3c.dom.Element;
import javax.xml.namespace.QName;
import javax.xml.transform.Source;
import javax.xml.ws.Endpoint;
import javax.xml.ws.EndpointReference;
import javax.xml.ws.Service;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import java.net.URL;
import java.util.List;
import java.util.Map;
public abstract class Provider {
public static final String JAXWSPROVIDER_PROPERTY = "javax.xml.ws.spi.Provider";
private static final String DEFAULT_JAXWSPROVIDER = "org.apache.cxf.jaxws.spi.ProviderImpl";
protected Provider() {
}
public static Provider provider() {
return (Provider) FactoryFinder.find(JAXWSPROVIDER_PROPERTY, DEFAULT_JAXWSPROVIDER);
}
/**
* Creates a service delegate object for the URL and service Qname
*/
public abstract ServiceDelegate createServiceDelegate(URL url, QName qname, Class extends Service> class1);
/**
* Creates a service delegate object for the URL, service Qname, and web service features.
* @since 2.2
*/
public ServiceDelegate createServiceDelegate(URL url, QName qname, Class extends Service> cls,
WebServiceFeature ... features) {
throw new UnsupportedOperationException("JAX-WS 2.2 implementations must override this method.");
}
/**
* Creates an Endpoint object with the provided bindingId and implementation object.
*/
public abstract Endpoint createEndpoint(String bindingId, Object obj);
/**
* Creates an Endpoint object with the provided bindingId, implementation class, invoker, and web service features.
* @since 2.2
*/
public Endpoint createEndpoint(String bindingId, Class> cls, Invoker invoker, WebServiceFeature ... features) {
throw new UnsupportedOperationException("JAX-WS 2.2 implementations must override this method.");
}
/**
* Creates an Endpoint object with the provided bindingId, implementation object, and web service features.
* @since 2.2
*/
public Endpoint createEndpoint(String bindingId, Object obj, WebServiceFeature ... features) {
throw new UnsupportedOperationException("JAX-WS 2.2 implementations must override this method.");
}
/**
* Creates and publishes an Endpoint object with the specified address and implementation object.
*/
public abstract Endpoint createAndPublishEndpoint(String s, Object obj);
/**
* Creates and publishes an Endpoint object with the specified address, implementation object and web service features.
* @since 2.2
*/
public Endpoint createAndPublishEndpoint(String address, Object obj, WebServiceFeature ... features) {
throw new UnsupportedOperationException("JAX-WS 2.2 implementations must override this method.");
}
public abstract EndpointReference readEndpointReference(Source eprInfoset);
public abstract T getPort(EndpointReference endpointReference, Class serviceEndpointInterface,
WebServiceFeature... features);
public abstract W3CEndpointReference createW3CEndpointReference(String address,
QName serviceName,
QName portName,
List metadata,
String wsdlDocumentLocation,
List referenceParameters);
/**
* @since 2.2
*/
public W3CEndpointReference createW3CEndpointReference(String address,
QName interfaceName,
QName serviceName,
QName portName,
List metadata,
String wsdlLocation,
List referenceParameters,
List elements,
Map attributes) {
throw new UnsupportedOperationException("JAX-WS 2.2 implementations must override this method.");
}
}