01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */package org.apache.geronimo.j2ee.deployment.annotation;
19:
20: import javax.xml.ws.WebServiceRef;
21: import javax.xml.ws.WebServiceRefs;
22:
23: @WebServiceRefs({@WebServiceRef(name="WebServiceRef10",type=javax.xml.ws.Service.class,value=javax.xml.ws.Service.class,wsdlLocation="WEB-INF/wsdl/WebServiceRef10.wsdl"),@WebServiceRef(name="WebServiceRef11",type=javax.xml.ws.Service.class,value=javax.xml.ws.Service.class,wsdlLocation="WEB-INF/wsdl/WebServiceRef11.wsdl",mappedName="mappedName11")})
24: public class WebServiceRefAnnotationTest {
25:
26: @WebServiceRef(name="WebServiceRef12",type=javax.xml.ws.Service.class,value=javax.xml.ws.Service.class,mappedName="mappedName12")
27: String annotatedField1;
28:
29: @WebServiceRef
30: int annotatedField2;
31:
32: //------------------------------------------------------------------------------------------
33: // Method name (for setter-based injection) must follow JavaBeans conventions:
34: // -- Must start with "set"
35: // -- Have one parameter
36: // -- Return void
37: //------------------------------------------------------------------------------------------
38: @WebServiceRef(name="WebServiceRef14",value=java.lang.Object.class,wsdlLocation="WEB-INF/wsdl/WebServiceRef14.wsdl",mappedName="mappedName14")
39: public void setAnnotatedMethod1(boolean bool) {
40: }
41:
42: @WebServiceRef(name="WebServiceRef15",value=javax.xml.ws.Service.class,wsdlLocation="WEB-INF/wsdl/WebServiceRef15.wsdl",mappedName="mappedName15")
43: public void setAnnotatedMethod2(String string) {
44: }
45:
46: }
|