uk.org.ogsadai.engine.controlflow
Interface RequestComponentFactory

All Known Implementing Classes:
RequestComponentFactoryImpl

public interface RequestComponentFactory

The interface through which a composite RequestComponent structure for an OGSA-DAI request is created.

Author:
The OGSA-DAI Project Team

Method Summary
?RequestComponent createRequestComponent(Activity[]?activities, org.w3c.dom.Document?requestDocument)
??????????Creates a composite RequestComponent structure for the specified request document.
?

Method Detail

createRequestComponent

public RequestComponent createRequestComponent(Activity[]?activities,
                                               org.w3c.dom.Document?requestDocument)
                                        throws RequestSpecificationException,
                                               RequestCreationException
Creates a composite RequestComponent structure for the specified request document.

Parameters:
activities - An array of the Activity objects contained in the request
requestDocument - The request (perform) Document
Returns:
a RequestComponent for the whole request
Throws:
RequestSpecificationException - If there is a problem creating the composite request component due to a problem in the specification of the request. This may be caused by an invalid request document, for example.
RequestCreationException - If there is a problem that prevents the creation of the composite request that is not caused by the request itself.