摘要 |
The present invention describes a technique for using shadowing object for approval control in an object-oriented software environment. The technique calls a business operation and determines whether the business operation needs to be approved. If the business operation needs to be approved, a shadowing business object and a shadowing connector corresponding to the original business object and the connector are created, and the business operation is performed on the shadowing business object and connector, and all results are stored in the shadowing business object, and all messages to be sent are buffered in the connector. If the business operation is approved, the original business object is replaced by the shadowing business object. The technique is flexible, efficient, easy to be modified and supplemented.
|