@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface Asynchronous
An asychronous method must have return type void
or Future<V>
, where V
is the result value type.
Asynchronous method invocation semantics only apply to the no-interface, local business, and remote business client views. Methods exposed through the enterprise bean 2.x local, enterprise bean 2.x remote, and web service client views must not be designated as asynchronous.
AsyncResult