|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An ActivityFactory
is responsible for constructing the
activities described in perform documents. An
ActivityEngine
is configured using an
ActivityFactory
.
Method Summary | |
Activity[] |
createActivities(org.w3c.dom.Document document)
Constructs the activity implementations for each of the activity elements contained in the given perform document. |
Property[] |
getProperties()
Gets a array of Property objects associated
with the activity list. |
Method Detail |
public Activity[] createActivities(org.w3c.dom.Document document) throws ActivitySpecificationException, ActivityCreationException, DocumentValidationException
document
- The perform document containing the element to use to create
the activities.
Activity
objects.
DocumentValidationException
- If the perform document as a whole is in some way invalid
e.g. contains unsupported pipes or unsupported activities.
ActivitySpecificationException
- If a client mistake prevents one or more activities from
being constructed successfully. This may be raised in
either of the following circumstances:
ActivityCreationException
- If there is some problem that prevents an activity being
created. This is typically caused by a configuration or
programming error.
java.lang.IllegalArgumentException
- If the document
is null
.public Property[] getProperties()
Property
objects associated
with the activity list.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |