发明名称 Automated logging for object-oriented environments
摘要 Example systems and methods of logging information in an object-oriented system are presented. In one example, a first object including a plurality of first methods is received. The first object also includes an additional method to receive an identity of one of the first methods and to return metadata corresponding to the one of the first methods. A wrapper object is created for the first object and includes a plurality of second methods. Each second method includes an interface that is equivalent to an interface of a corresponding first method. Each of the second methods is configured to call the additional method of the first object to retrieve the metadata for the corresponding first method, call the corresponding first method, receive a return value from the corresponding first method, return the return value, and store information regarding the corresponding first method based on the retrieved metadata.
申请公布号 US9195704(B2) 申请公布日期 2015.11.24
申请号 US201414195640 申请日期 2014.03.03
申请人 SAP SE 发明人 Martick Christian
分类号 G06F13/00;G06F17/30 主分类号 G06F13/00
代理机构 Schwegman Lundberg & Woessner, P.A. 代理人 Schwegman Lundberg & Woessner, P.A.
主权项 1. A method of logging information in an object-oriented system, the method comprising: receiving a first object comprising a plurality of first methods, wherein the first object further comprises an additional method configured to receive an identity of one of the first methods and to return metadata corresponding to the one of the first methods; and creating, using at least one processor of a machine, a wrapper object for the first object, wherein the wrapper object comprises a plurality of second methods, wherein each of the second methods comprises an interface that is equivalent to an interface of a corresponding one of the first methods, and wherein each of the second methods is configured to: call the additional method of the first object to retrieve the metadata for the corresponding one of the first methods;call the corresponding one of the first methods;receive a return value from the corresponding one of the first methods;return the return value; andstore information regarding the corresponding one of the first methods based on the retrieved metadata.
地址 Walldorf DE