Back to results
US 2008/0301635 A1Published application
Per-instance and per-class aspects
OwnerKabir Khaninventor
Life of this patent
Estimating the term…
Abstract
An object-oriented program development tool supports the specification and implementation program aspects. Cross-cutting concerns can be identified, and key points in a program augmented with arbitrary functionality. Classes and individual objects can be associated with different advices. Interceptors can be added dynamically on a per-instance and/or a per-class basis.
Claims20
A method comprising:
- obtaining a pointcut expression to match one of a type pattern, a method pattern, a constructor pattern or a field pattern;
- processing an input code to locate a fragment that matches the pointcut expression;
- altering the fragment to cause the fragment invoke an interceptor upon execution;
- and
- emitting an output code including a portion of the input code and the altered fragment.
2 more elements
A computer-readable medium containing data and instructions to cause a programmable processor to perform operations comprising:
- loading an key point identifier;
- reading an input code that expresses an object-oriented program;
- identifying a fragment within the input code that matches the key point identifier;
- modifying the fragment to invoke an interceptor function;
- and
- writing an output code that corresponds to the input code including the modified fragment.
3 more elements
A computer-readable medium containing data and instructions to cause a programmable processor to perform operations comprising:
- identifying one of a class data field access or a class method invocation within a program;
- and
- modifying the class data field access or the class method invocation to dispatch an interceptor function.
Dependencies are inferred from the claim text.