Thorsten Scherler schrieb:
[...]
> No transition found for event [lockInvolvedObjects] in state [start]!
The AbstractUsecase contains a state machine which ensures that the
methods are called in the correct order. This avoids inconsistent
states (e.g., that execute() is called before the execution conditions
are checked).
Here's a list of the transitions (sourceState, destState, event/method):
("start", "preChecked", "checkPreconditions"),
("preChecked", "nodesLocked", "lockInvolvedObjects"),
("nodesLocked", "execChecked", "checkExecutionConditions"),
("execChecked", "execChecked", "checkExecutionConditions"),
("execChecked", "executed", "execute"),
("executed", "postChecked", "checkPostconditions") };
According to the state machine, you have to call checkPreconditions()
before you may call lockInvolvedObjects().
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]