|
|
The Commons
Patent Title: Apparatus and method for disabling methods called on an object Abstract: The present invention provides an object-oriented disabling mechanism which selectively disables object methods. The object-oriented disabling mechanism prevents the selected methods from being called on an object by other programs or processes via various alternative embodiments. A first preferred embodiment of the object-oriented disabling mechanism works in conjunction with a plurality of method tables to restrict method calls on an object. An alternative preferred embodiment of the object oriented disabling mechanism works in conjunction with a read flag and a write flag to define which methods can be called on an object. Another alternative preferred embodiment of the object oriented disabling mechanism uses software "locks" and a lock conflict matrix associated with the object to determine which methods can be called on an object. A final alternative preferred embodiment of the object oriented disabling mechanism uses a transactional mechanism to commit or rollback changes made to an object as a result of method calls. Notes: |