Method and system that filters byte-code instrumentation at the instrumentation level
US-8954935-B2 · Feb 10, 2015 · US
US10262020B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10262020-B2 |
| Application number | US-201615041914-A |
| Country | US |
| Kind code | B2 |
| Filing date | Feb 11, 2016 |
| Priority date | Feb 11, 2016 |
| Publication date | Apr 16, 2019 |
| Grant date | Apr 16, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
An effective dater provides effective dating to object in a runtime environment. The effective dater identifies an access to a first field of a first object during runtime of a program. The first object is not effective date enabled. The effective date of determines whether the effective dating is to be applied to the first field. In response to determining that effective dating is to be applied to the first field, the effective dater redirects the access to a second object. The second object is effective date enabled. The effective dater then accesses the effective dated value in the second field of the second object according to an access context.
Opening claim text (preview).
What is claimed is: 1. A method for providing effective dating to objects in a runtime environment, the method comprising: identifying a join point in a byte stream that indicates an access to a first field of a first object during runtime of a program, wherein the first object is not effective date enabled to simultaneously store different values for the first field that are in effect over different date ranges; identifying a pointcut expression that matches the join point; determining if the pointcut expression indicates that effective dating is to be applied to the first field; responsive to determining that the pointcut expression indicates that effective dating is to be applied to the first field, integrating instructions into the byte stream that redirect the access to a second object, wherein the second object is effective date enabled to simultaneously store different values that are in effect for a second field over different date ranges; and accessing an effective dated value in the second field of the second object according to an access context that indicates a date range for the effective dated value. 2. The method of claim 1 , wherein the access to the first field comprises: a read access to a value of the first field; or an assignment to the value of the first field. 3. The method of claim 2 , wherein the step of determining if effective dating is to be applied to the field further comprises: determining whether the first object contains a field that is to be effective dated. 4. The method of claim 3 , further comprising: the step of identifying the access to the first field comprises a pointcut identifying a join point, wherein the join point is a read access to a value of the first field or an assignment to the value of the first field. 5. The method of claim 1 , wherein the step of redirecting the access to the second object further comprises: identifying the first field as a property or a collection; responsive to identifying the first field as a property, redirecting the access to the second object according to a first map lookup of the first field in first map; and responsive to identifying the first field as a collection, redirecting the access to the second object according to a second map lookup of the first field in a second map. 6. The method of claim 5 , wherein a field name for the first field defines a lookup key for redirecting the access to the second object according to at least one of the first map lookup and the second map lookup. 7. The method of claim 1 , wherein the step of accessing the effective dated value in a second field of the second object according to an access context further comprises: identifying the effective dated value in an ordered collection of values for the second field according to the access context. 8. The method of claim 7 , wherein the step of accessing the effective dated value in a second field of the second object according to an access context further comprises: establishing a date range over which the effective dated value is identified in the ordered collection. 9. A computer system comprising: a processor; and an effective dater in communication with the processor, wherein the effective dater: identifies a join point in a byte stream that indicates an access to a first field of a first object during runtime of a program, wherein the first object is not effective date enabled to simultaneously store different values for the first field that are in effect over different date ranges; identifies a pointcut expression that matches the join point; determines if the pointcut expression indicates that effective dating is to be applied to the first field; responsive to determining that the pointcut expression indicates that effective dating is to be applied to the first field, integrates instructions into the byte stream that redirect the access to a second object, wherein the second object is effective date enabled to simultaneously store different values that are in effect for a second field over different date ranges; and accesses an effective dated value in the second field of the second object according to an access context that indicates a date range for the effective dated value. 10. The computer system of claim 9 , wherein the access to the first field comprises: a read access to a value of the first field; or an assignment to the value of the first field. 11. The computer system of claim 10 , wherein the step of determining if effective dating is to be applied to the field further comprises: determining, by the effective dater, whether the first object contains a field that is to be effective dated. 12. The computer system of claim 11 , wherein: the effective dater identifying the access to the first field a pointcut identifying a join point, wherein the join point is a read access to a value of the first field or an assignment to the value of the first field. 13. The computer system of claim 9 , wherein the step of redirecting the access to the second object further comprises: identifying, by the effective dater, the first field as a property or a collection; responsive to identifying the first field as a property, redirecting, by the effective dater, the access to the second object according to a first map lookup of the first field in first map; and responsive to identifying the first field as a collection, redirecting, by the effective dater, the access to the second object according to a second map lookup of the first field in a second map. 14. The computer system of claim 13 , wherein a field name for the first field defines a lookup key for redirecting the access to the second object according to at least one of the first map lookup and the second map lookup. 15. The computer system of claim 9 , wherein accessing the effective dated value in a second field of the second object according to an access context further comprises: identifying, by the effective dater, the effective dated value in an ordered collection of values for the second field according to the access context. 16. The computer system of claim 15 , wherein accessing the effective dated value in a second field of the second object according to an access context further comprises: establishing, by the effective dater, a date range over which the effective dated value is identified in the ordered collection. 17. A computer program product for providing effective dating to objects in a runtime environment, the computer program product comprising: a computer readable storage media; program code, stored on the computer readable storage media, for identifying a join point in a byte stream that indicates an access to a first field of a first object during runtime of a program, wherein the first object is not effective date enabled to simultaneously store different values for the first field that are in effect over different date ranges; program code, stored on the computer readable storage media, for identifying a pointcut expression that matches the join point; program code, stored on the computer readable storage media, for determining if the pointcut expression indicates that effective dating is to be applied to the first field; program code, stored on the computer readable storage media, for integrating instructions into the byte stream that redirect the access to a second object in response to determining that the pointcut expression indicates that effective dating is to be applied to the first field, wherein the second object is effective date enabled simultaneously store different values that are in
Human resources · CPC title
Operations research, analysis or management · CPC title
Recording time for administrative or management purposes · CPC title
Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477) · CPC title
Physics · mapped topic
Related publications grouped by family.
Answers are generated from the same data shown on this page.