|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Operation
This annotation designates a method to be called with all incoming request messages.
Method signature should have one argument of type String, Node, byte[], Source,
NormalizedMessage or MessageExchange.
Return type can be one of void, String, Node, Source, byte[], NormalizedMessage or MessageExchange.
If another method annotated with @OnDone is present, its return type determines
the message exchange pattern and output message of this service. If method
annotated with @OnDone returns void, then message exchange pattern for this service is InOnly
or else pattern will be InOut. Even for InOnly pattern, service engine will send done/error
status only after completion of method annotated with @Operation and @OnDone if one is present.
This behaivior is different from BPEL engine in order to account for non availibility of
inbuilt message persistence.
Optional Element Summary | |
---|---|
java.lang.String |
name
|
java.lang.String |
outMessageType
Deprecated. 11/06/08, use outMessageTypeQN. |
java.lang.String |
outMessageTypeNS
Deprecated. 11/06/08, use outMessageTypeQN. |
java.lang.String |
outMessageTypeQN
Output message type for InOut message exchange pattern service operation. |
public abstract java.lang.String name
public abstract java.lang.String outMessageTypeQN
public abstract java.lang.String outMessageTypeNS
public abstract java.lang.String outMessageType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |