|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.engine.ActivityEngine
This implementation of the Engine interface is designed to
process perform documents containing sequences of activity elements that
correspond to Activity implementations.
The ActivityEngine can not process mutliple request
simultaneously and a ActivityUserException will be thrown by the
invoke method is an attempt is made to do so. The
ObservableStatus contained in the
EngineConfiguration can be monitored to determine the status
of the current request.
| Field Summary | |
protected ObservableStatus |
mStatus
The observable status used for each Engine request. |
| Constructor Summary | |
ActivityEngine(EngineConfiguration config)
Constructs an engine with the specified configuration. |
|
| Method Summary | |
org.w3c.dom.Document |
perform(org.w3c.dom.Document requestDocument,
RequestContext requestContext)
Processes a request and generates a response. |
void |
terminate()
Terminates the request that is currently processing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected final ObservableStatus mStatus
| Constructor Detail |
public ActivityEngine(EngineConfiguration config)
config - An EngineConfiguration object holding the
configuration information requeired by the engine.| Method Detail |
public org.w3c.dom.Document perform(org.w3c.dom.Document requestDocument,
RequestContext requestContext)
throws EngineException,
ResponseException
Engine
perform in interface EnginerequestDocument - the perform document to be processed in the requestrequestContext - the request context containing the user and request
configuration details
Document describing the status and
possibly the results of the request
EngineException
ResponseExceptionpublic void terminate()
Engine
terminate in interface Engine
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||