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: 701389 $ $Date: 2008-10-03 19:55:27 +0530 (Fri, 03 Oct 2008) $

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


Copyright © 2009. All Rights Reserved.