Skip navigation links

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

E10654-04


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 asynchronous service. It can also be used to exclude it from the list of asynchronous methods. This annotation is applicable only to the methods of asynchronous web service implementation classes that are annotated with AsyncWebService annotation.


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.
 boolean sendAutoResponse
          For internal use only

 

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

sendAutoResponse

public abstract boolean sendAutoResponse
For internal use only
Default:
true

Skip navigation links

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

E10654-04


Copyright © 2006, 2010, Oracle and/or its affiliates. All rights reserved..