|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.engine.controlflow.CompositeRequestComponent
A CompositeRequestComponent is a RequestComponent
that may contain child components. The iterator method is
defined to provide access to these children for a concrete implementation.
| Constructor Summary | |
CompositeRequestComponent()
|
|
| Method Summary | |
void |
add(RequestComponent child)
Adds a child to a composite component. |
java.util.List |
children()
Returns a non-mutable list of the children of this RequestComponent. |
boolean |
generatesResultData()
Indicates whether or not this component will generate any result data. |
void |
initialise(EngineConfiguration config,
RequestContext context,
ResponseBuilder responseBuilder)
Initialises the component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uk.org.ogsadai.engine.controlflow.RequestComponent |
process, terminate |
| Constructor Detail |
public CompositeRequestComponent()
| Method Detail |
public void add(RequestComponent child)
RequestComponent
add in interface RequestComponentchild - the child RequestComponentpublic java.util.List children()
RequestComponentRequestComponent. If this component is a leaf and not a
composite then java.util.Collections.EMPTY_LIST should be
returned.
children in interface RequestComponentjava.util.List containing any children
public void initialise(EngineConfiguration config,
RequestContext context,
ResponseBuilder responseBuilder)
throws RequestSystemException,
RequestUserException
RequestComponentgeneratesResultData method must operational.
initialise in interface RequestComponentconfig - the configuration object for the engine that will process
this request componentcontext - the context for the requestresponseBuilder - the response builder for assembling the response document
RequestUserException - if there is a user problem during initialisation.
RequestSystemException - if there is a system problem during initialisation.public boolean generatesResultData()
RequestComponentinitialise method has
returned. This method is used by the Engine to determine whether to
process a request synchronously or asynchronously.
generatesResultData in interface RequestComponenttrue if so, false otherwise
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||