com.bea.control
Annotation Type TaskBaseAnnotations.TaskGetInfo


Deprecated. Use TaskGetData instead.

@Deprecated
@Retention(value=RUNTIME)
@Target(value=METHOD)
public static @interface TaskBaseAnnotations.TaskGetInfo

Backward compatibility for 81x use only. Causes the method for this annotation to retrieve the TaskInfo from the task instance(s) for this control. The method attached to this annotation will return a TaskInfo object.

Note, this annotation should not be used in conjunction with other annotations that return values, as only one return value can be provided from the method (and annotations will compete and collide in returning values).

If the return type of the method attached to this annotation is assignment compatible with TaskInfoXMLDocument, a TaskInfoXMLDocument instance will be created from the available TaskInfo and returned. If the return type is assignment compatible with String, the task id for the task will be returned. Otherwise a ControlException will be returned indicating an unknown return type was specified.

If this control manages more than one task instance, the method attached to this annotation will return an array of type TaskInfo[], TaskInfoXMLDocument[], or String[] as described above. If the return type is not an array type, a ControlException will be thrown indicating that multiple return values were available but no array return type was provided to hold them.