|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WfRequester
is an interface for classes that serve as adapters
of WfProcess in different usage scenarios. Every WfRequester is associated
with a performing process. The main behavior of the requester is to
accept events from the performing workflow and relay it to the containing
process or calling application.
There are two usage scenarios for the association of a process to a requester:
The first one is the nesting of workflow processes. In this case the WfRequester should be registered as the requester with the implementing sub-process when it is created; upon completion of the sub-process, the WfRequester should enter the completed state.
The second scenario concerns linking a process to another application
possibly in another installation. In this case the WfRequester serves
as an adapter or proxy for the process.
Supported API: false
Extendable: false
WfRequesterActivity
,
WfProcessRequester
Field Summary | |
static String |
PERFORMER_REF
Label for the attribute; Reference to the performer object associated with the requester. |
Method Summary | |
WfExecutionObject |
changeState(WfTransition transition)
This method is used by containing process of application to force the process to undergo state changes. |
WfContainer |
getPerformer()
Returns the process associated with the requester. |
WfContainerReference |
getPerformerRef()
Gets the value of the attribute: PERFORMER_REF. |
void |
receiveEvent(Object event)
This operation is used by the associated WfProcess to notify its requester of workflow events. |
void |
setPerformerRef(WfContainerReference a_PerformerRef)
Sets the value of the attribute: PERFORMER_REF. |
Field Detail |
public static final String PERFORMER_REF
Method Detail |
public WfContainerReference getPerformerRef()
public void setPerformerRef(WfContainerReference a_PerformerRef)
a_PerformerRef
- public void receiveEvent(Object event) throws WTException
event
- WfProcess event; contains the source of the event.
WTException
public WfExecutionObject changeState(WfTransition transition) throws WTException
transition
-
WTException
public WfContainer getPerformer() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |