发明名称 |
Apparatus and method for disabling methods called on an object |
摘要 |
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.
|
申请公布号 |
US6230311(B1) |
申请公布日期 |
2001.05.08 |
申请号 |
US19980096880 |
申请日期 |
1998.06.12 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
GERARD SCOTT NEAL;HALTER STEVEN LESTER;MUNROE STEVEN J.;VOLDAL ERIK E. |
分类号 |
G06F9/42;(IPC1-7):G06F9/45 |
主分类号 |
G06F9/42 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|