org.oasisopen.sca.annotation
Annotation Type Callback


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

The @Callback annotation is used to annotate a service interface with a callback interface, which takes the Java Class object of the callback interface as a parameter.


Optional Element Summary
 java.lang.Class<?> value
          The name of a Java class file containing the callback interface.
 

value

public abstract java.lang.Class<?> value
The name of a Java class file containing the callback interface.

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