@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Repeatable(value=Callbacks.class) @Inherited public @interface Callback
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
callbackUrlExpression
An absolute URL which defines the destination which will be called with the supplied operation definition.
|
Extension[] |
extensions
List of extensions to be added to the
Callback
model corresponding to the containing annotation. |
java.lang.String |
name
The friendly name used to refer to this callback.
|
CallbackOperation[] |
operations
The array of operations that will be called out-of band
|
java.lang.String |
ref
Reference value to a Callback object.
|
public abstract java.lang.String name
The name is REQUIRED when the callback is defined within
Components
. The name will be used as the key to add this
callback to the 'callbacks' map for reuse.
public abstract java.lang.String callbackUrlExpression
It is a REQUIRED property unless this is only a reference to a callback instance.
public abstract CallbackOperation[] operations
public abstract java.lang.String ref
This property provides a reference to an object defined elsewhere. This property and all other properties are mutually exclusive. If other properties are defined in addition to the ref property then the result is undefined.