Java™ Platform
Standard Ed. 6

javax.jws
Annotation Type Oneway


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Oneway

Indicates that the given @WebMethod has only an input message and no output. Typically, a oneway method returns the thread of control to the calling application prior to executing the actual business method. A 181 processor should report an error if an operation marked @Oneway has a return value or Holder parameters, or declares any checked exceptions.


Java™ Platform
Standard Ed. 6

Submit a bug or feature

Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.