@Documented @Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface Asynchronous
false. You can optionally define if the invocation is to have guaranteed delivery or not.
This annotation must be used within an interface, as opposed to a class definition, in order for it to take effect. In other words, when you write your remote POJO, this annotation must be used in the remote POJO's interface - not its implementation class.
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
guaranteedDelivery
When
true, the asynchronous invocation will have guaranteed delivery enabled meaning
that a best effort will be made to invoke the method, even in the event of a network or server/client crash. |
boolean |
value
When
true, the method (or methods if annotating an interface) will be sent asynchronously. |
public abstract boolean value
true, the method (or methods if annotating an interface) will be sent asynchronously.true)public abstract boolean guaranteedDelivery
true, the asynchronous invocation will have guaranteed delivery enabled meaning
that a best effort will be made to invoke the method, even in the event of a network or server/client crash.false)Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.