01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package javax.xml.ws;
17:
18: /**
19: * This class is only provided so JaxWS code can be compiled under Java6 update 4 which
20: * uses JaxWS 2.1. All of the methods throw UnsupportedOperationException.
21: */
22: @SuppressWarnings({"UnusedDeclaration"})
23: public abstract class EndpointReference {
24: public static EndpointReference readFrom(
25: javax.xml.transform.Source eprInfoset) {
26: throw new UnsupportedOperationException(
27: "JaxWS 2.1 APIs are not supported");
28: }
29:
30: public abstract void writeTo(javax.xml.transform.Result result);
31:
32: public <T> T getPort(Class<T> serviceEndpointInterface,
33: WebServiceFeature... features) {
34: throw new UnsupportedOperationException(
35: "JaxWS 2.1 APIs are not supported");
36: }
37: }
|