Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.annotations.async
Annotation Type CallbackMethod


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

The CallbackMethod annotation has attributes that are used to create the wsdl:operation in the callback portType of the asynchronus service. It can also be used to exclude it from the list of asynchronous methods.


Optional Element Summary
 String action
          The action for this operation in the callback portType.
 boolean exclude
          Marks a method not to be exposed as Asynchronous method.
 String name
          Name of the callback method corresponding to the annotated method.
 String operationName
          Name of the wsdl:operation for this method in the callback portType.

 

name

public abstract String name
Name of the callback method corresponding to the annotated method. Default value is the original method name with the prefix "onResult" This annotation is ignored at run time, it is only used when generating a callback interface from a POJO implementation class.
Default:
""

operationName

public abstract String operationName
Name of the wsdl:operation for this method in the callback portType. The default name is the name of the annotated method with the prefix "onResult"
Default:
""

action

public abstract String action
The action for this operation in the callback portType. For SOAP bindings, this determines the value of the soap action The default value is the operation name.
Default:
""

exclude

public abstract boolean exclude
Marks a method not to be exposed as Asynchronous method. If set to true, other attributes have no significance.
Default:
false

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.