Source Code Cross Referenced for AsyncPort.java in  » Web-Services-AXIS2 » jax-ws » org » apache » axis2 » jaxws » sample » parallelasync » server » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Services AXIS2 » jax ws » org.apache.axis2.jaxws.sample.parallelasync.server 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Licensed to the Apache Software Foundation (ASF) under one
003:         * or more contributor license agreements. See the NOTICE file
004:         * distributed with this work for additional information
005:         * regarding copyright ownership. The ASF licenses this file
006:         * to you under the Apache License, Version 2.0 (the
007:         * "License"); you may not use this file except in compliance
008:         * with the License. You may obtain a copy of the License at
009:         *
010:         * http://www.apache.org/licenses/LICENSE-2.0
011:         *
012:         * Unless required by applicable law or agreed to in writing,
013:         * software distributed under the License is distributed on an
014:         * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015:         * KIND, either express or implied. See the License for the
016:         * specific language governing permissions and limitations
017:         * under the License.
018:         */
019:
020:        package org.apache.axis2.jaxws.sample.parallelasync.server;
021:
022:        import java.util.concurrent.Future;
023:
024:        import javax.jws.WebMethod;
025:        import javax.jws.WebParam;
026:        import javax.jws.WebResult;
027:        import javax.jws.WebService;
028:        import javax.xml.ws.AsyncHandler;
029:        import javax.xml.ws.Holder;
030:        import javax.xml.ws.RequestWrapper;
031:        import javax.xml.ws.Response;
032:        import javax.xml.ws.ResponseWrapper;
033:
034:        import org.test.parallelasync.AnotherResponse;
035:        import org.test.parallelasync.CustomAsyncResponse;
036:        import org.test.parallelasync.InvokeAsyncResponse;
037:        import org.test.parallelasync.IsAsleepResponse;
038:        import org.test.parallelasync.PingResponse;
039:        import org.test.parallelasync.SleepResponse;
040:        import org.test.parallelasync.WakeUpResponse;
041:
042:        /**
043:         * This class was generated by the JAXWS SI.
044:         * JAX-WS RI 2.0.1-jaxws-rearch-2005-nightly_2006-08-16_02-32-03-M1
045:         * Generated source version: 2.0
046:         * 
047:         */
048:        @WebService(name="AsyncPort",targetNamespace="http://org/test/parallelasync")
049:        public interface AsyncPort {
050:
051:            /**
052:             * 
053:             * @param request
054:             * @return
055:             *     returns java.lang.String
056:             */
057:            @WebMethod(action="http://org/test/parallelasync/ping")
058:            @WebResult(name="response",targetNamespace="")
059:            @RequestWrapper(localName="ping",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.Ping")
060:            @ResponseWrapper(localName="pingResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.PingResponse")
061:            public String ping(
062:                    @WebParam(name="request",targetNamespace="")
063:                    String request);
064:
065:            /**
066:             * 
067:             * @param message
068:             * @return
069:             *     returns javax.xml.ws.Response<org.test.parallelasync.SleepResponse>
070:             */
071:            @WebMethod(operationName="sleep",action="http://org/test/parallelasync/sleep")
072:            @RequestWrapper(localName="sleep",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.Sleep")
073:            @ResponseWrapper(localName="sleepResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.SleepResponse")
074:            public Response<SleepResponse> sleepAsync(
075:                    @WebParam(name="message",targetNamespace="")
076:                    String message);
077:
078:            /**
079:             * 
080:             * @param message
081:             * @param asyncHandler
082:             * @return
083:             *     returns java.util.concurrent.Future<? extends java.lang.Object>
084:             */
085:            @WebMethod(operationName="sleep",action="http://org/test/parallelasync/sleep")
086:            @RequestWrapper(localName="sleep",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.Sleep")
087:            @ResponseWrapper(localName="sleepResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.SleepResponse")
088:            public Future<?> sleepAsync(
089:                    @WebParam(name="message",targetNamespace="")
090:                    String message,
091:                    @WebParam(name="asyncHandler",targetNamespace="")
092:                    AsyncHandler<SleepResponse> asyncHandler);
093:
094:            /**
095:             * 
096:             * @param message
097:             */
098:            @WebMethod(action="http://org/test/parallelasync/sleep")
099:            @RequestWrapper(localName="sleep",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.Sleep")
100:            @ResponseWrapper(localName="sleepResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.SleepResponse")
101:            public void sleep(
102:                    @WebParam(name="message",targetNamespace="",mode=WebParam.Mode.INOUT)
103:                    Holder<String> message);
104:
105:            /**
106:             * 
107:             * @return
108:             *     returns java.lang.String
109:             */
110:            @WebMethod(action="http://org/test/parallelasync/isAsleep")
111:            @WebResult(name="response",targetNamespace="")
112:            @RequestWrapper(localName="isAsleep",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.IsAsleep")
113:            @ResponseWrapper(localName="isAsleepResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.IsAsleepResponse")
114:            public String isAsleep(
115:                    @WebParam(name="request",targetNamespace="")
116:                    String request);
117:
118:            /**
119:             * 
120:             * @return
121:             *     returns java.lang.String
122:             */
123:            @WebMethod(action="http://org/test/parallelasync/wakeUp")
124:            @WebResult(name="response",targetNamespace="")
125:            @RequestWrapper(localName="wakeUp",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.WakeUp")
126:            @ResponseWrapper(localName="wakeUpResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.WakeUpResponse")
127:            public String wakeUp(
128:                    @WebParam(name="request",targetNamespace="")
129:                    String request);
130:
131:            /**
132:             * 
133:             * @param request
134:             * @return
135:             *     returns javax.xml.ws.Response<org.test.parallelasync.InvokeAsyncResponse>
136:             */
137:            @WebMethod(operationName="invokeAsync",action="http://org/test/parallelasync/invokeAsync")
138:            @RequestWrapper(localName="invokeAsync",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.InvokeAsync")
139:            @ResponseWrapper(localName="invokeAsyncResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.InvokeAsyncResponse")
140:            public Response<InvokeAsyncResponse> invokeAsyncAsync(
141:                    @WebParam(name="request",targetNamespace="")
142:                    String request);
143:
144:            /**
145:             * 
146:             * @param asyncHandler
147:             * @param request
148:             * @return
149:             *     returns java.util.concurrent.Future<? extends java.lang.Object>
150:             */
151:            @WebMethod(operationName="invokeAsync",action="http://org/test/parallelasync/invokeAsync")
152:            @RequestWrapper(localName="invokeAsync",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.InvokeAsync")
153:            @ResponseWrapper(localName="invokeAsyncResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.InvokeAsyncResponse")
154:            public Future<?> invokeAsyncAsync(
155:                    @WebParam(name="request",targetNamespace="")
156:                    String request,
157:                    @WebParam(name="asyncHandler",targetNamespace="")
158:                    AsyncHandler<InvokeAsyncResponse> asyncHandler);
159:
160:            /**
161:             * 
162:             * @param request
163:             * @return
164:             *     returns java.lang.String
165:             */
166:            @WebMethod(action="http://org/test/parallelasync/invokeAsync")
167:            @WebResult(name="response",targetNamespace="")
168:            @RequestWrapper(localName="invokeAsync",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.InvokeAsync")
169:            @ResponseWrapper(localName="invokeAsyncResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.InvokeAsyncResponse")
170:            public String invokeAsync(
171:                    @WebParam(name="request",targetNamespace="")
172:                    String request);
173:
174:            /**
175:             * 
176:             * @param request
177:             * @return
178:             *     returns javax.xml.ws.Response<org.test.parallelasync.CustomAsyncResponse>
179:             */
180:            @WebMethod(operationName="customAsync",action="http://org/test/parallelasync/customAsync")
181:            @RequestWrapper(localName="customAsync",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.CustomAsync")
182:            @ResponseWrapper(localName="customAsyncResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.CustomAsyncResponse")
183:            public Response<CustomAsyncResponse> remappedAsync(
184:                    @WebParam(name="request",targetNamespace="")
185:                    String request);
186:
187:            /**
188:             * 
189:             * @param asyncHandler
190:             * @param request
191:             * @return
192:             *     returns java.util.concurrent.Future<? extends java.lang.Object>
193:             */
194:            @WebMethod(operationName="customAsync",action="http://org/test/parallelasync/customAsync")
195:            @RequestWrapper(localName="customAsync",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.CustomAsync")
196:            @ResponseWrapper(localName="customAsyncResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.CustomAsyncResponse")
197:            public Future<?> remappedAsync(
198:                    @WebParam(name="request",targetNamespace="")
199:                    String request,
200:                    @WebParam(name="asyncHandler",targetNamespace="")
201:                    AsyncHandler<CustomAsyncResponse> asyncHandler);
202:
203:            /**
204:             * 
205:             * @param request
206:             * @return
207:             *     returns java.lang.String
208:             */
209:            @WebMethod(operationName="customAsync",action="http://org/test/parallelasync/customAsync")
210:            @WebResult(name="response",targetNamespace="")
211:            @RequestWrapper(localName="customAsync",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.CustomAsync")
212:            @ResponseWrapper(localName="customAsyncResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.CustomAsyncResponse")
213:            public String remapped(
214:                    @WebParam(name="request",targetNamespace="")
215:                    String request);
216:
217:            /**
218:             * 
219:             * @param request
220:             * @return
221:             *     returns javax.xml.ws.Response<org.test.parallelasync.AnotherResponse>
222:             */
223:            @WebMethod(operationName="another",action="http://org/test/parallelasync/another")
224:            @RequestWrapper(localName="another",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.Another")
225:            @ResponseWrapper(localName="anotherResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.AnotherResponse")
226:            public Response<AnotherResponse> anotherAsyncAsync(
227:                    @WebParam(name="request",targetNamespace="")
228:                    String request);
229:
230:            /**
231:             * 
232:             * @param asyncHandler
233:             * @param request
234:             * @return
235:             *     returns java.util.concurrent.Future<? extends java.lang.Object>
236:             */
237:            @WebMethod(operationName="another",action="http://org/test/parallelasync/another")
238:            @RequestWrapper(localName="another",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.Another")
239:            @ResponseWrapper(localName="anotherResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.AnotherResponse")
240:            public Future<?> anotherAsyncAsync(
241:                    @WebParam(name="request",targetNamespace="")
242:                    String request,
243:                    @WebParam(name="asyncHandler",targetNamespace="")
244:                    AsyncHandler<AnotherResponse> asyncHandler);
245:
246:            /**
247:             * 
248:             * @param request
249:             * @return
250:             *     returns java.lang.String
251:             */
252:            @WebMethod(operationName="another",action="http://org/test/parallelasync/another")
253:            @WebResult(name="response",targetNamespace="")
254:            @RequestWrapper(localName="another",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.Another")
255:            @ResponseWrapper(localName="anotherResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.AnotherResponse")
256:            public String anotherAsync(
257:                    @WebParam(name="request",targetNamespace="")
258:                    String request);
259:
260:            /**
261:             * 
262:             * @param request
263:             * @return
264:             *     returns java.lang.String
265:             */
266:            @WebMethod(operationName="realCustomAsync",action="http://org/test/parallelasync/customAsync")
267:            @WebResult(name="response",targetNamespace="")
268:            @RequestWrapper(localName="customAsync",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.CustomAsync")
269:            @ResponseWrapper(localName="customAsyncResponse",targetNamespace="http://org/test/parallelasync",className="org.test.parallelasync.CustomAsyncResponse")
270:            public String customAsync(
271:                    @WebParam(name="request",targetNamespace="")
272:                    String request);
273:
274:        }
ww___w.j__av__a2__s_.c___o_m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.