2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.


org.osoa.sca.annotations
Annotation Type Callback


@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Callback

When placed on a service interface, this annotation specifies the interface to be used for callbacks.

When placed on a method or field, this annotation denotes the injection site to be used for a callback reference.

There is a error in the 1.00 draft spec in the declaration of this interface. The form defined here is a proposed correction for that error.

Version:
$Rev: 537744 $ $Date: 2007-05-14 09:00:18 +0100 (Mon, 14 May 2007) $

Optional Element Summary
 java.lang.Class<?> value
          The Class of the associated callback interface.
 

value

public abstract java.lang.Class<?> value
The Class of the associated callback interface.

Returns:
the associated callback interface
Default:
java.lang.Void.class