发明名称 Partial dynamic implementation of JAVA interfaces
摘要 A system and method for implementing dynamic interfaces in a JAVA program including methods having a common implementation and other methods to be handled independently. The system comprises a first dynamic proxy object implementing an invocation handler for providing default implementations; a separate object providing implementations of any method in a defined interface that requires independent handling; and, a second dynamic proxy object provided for checking a method definition object for an implementation of the method, and in response, one of: invoking the method on the separate object if the implementation exists, and if the implementation does not exist, invoking the method on the first dynamic proxy object. The second dynamic proxy object thus allows for a single implementation for repetitive methods, while allowing special cases to be handled independently.
申请公布号 US7367032(B2) 申请公布日期 2008.04.29
申请号 US20050031169 申请日期 2005.01.07
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 MCCAIN BRIAN S.;PEIPELMAN JASON L.
分类号 G06F3/00;G06F9/00;G06F9/44;G06F9/46;G06F13/00;G06F15/16;G06F17/00 主分类号 G06F3/00
代理机构 代理人
主权项
地址
您可能感兴趣的专利