Patentable/Patents/US-7409532
US-7409532

Method and apparatus for extending operations of an application in a data processing system

PublishedAugust 5, 2008
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

A method, an apparatus, and computer instructions are provided for extending operations of an application in a data processing system. A primary operation is executed. All extended operations of the primary operation are cached and pre and post operation identifiers are identified. For each pre operation identifier, a pre operation instance is created and executed. For each post operation identifier, a post operation instance is created and executed.

Patent Claims
14 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method in a data processing system for extending operations of an application, the method comprising: responsive to running a primary operation, identifying all pre and post operations based on predefined metadata and an environment context of the application, wherein identifying comprises: responsive to running the primary operation, determining if a cycle is present in an execution path of the primary operation; if no cycle is present, populating an extended operation cache with cached extended operation identifiers, wherein populating comprises: reading a plurality of operation extensions for a given primary operation identifier; determining if each corresponding operation extension in the plurality of operation extensions defines a corresponding at least one of a pre or post operation identifier; associating the corresponding at least one of pre or post operation identifier with a corresponding function group identifier; for each corresponding operation extension in the plurality of operation extensions, creating a corresponding primary operation record for each operation extension, and placing the corresponding primary operation record in the extended operation cache; and wherein identifying further comprises: identifying a plurality of pre operation identifiers and post operation identifiers from the cached extended operation identifiers; and wherein the method further comprises: recursively running all pre operations in a predefined order; executing the primary operation; and recursively running all post operations in a predefined order.

2

2. The method of claim 1 , wherein recursively running all pre operations in a predefined order comprises: for each corresponding pre operation identifier in the plurality of pre operation identifiers, creating a corresponding pre operation instance using the corresponding pre operation identifier, passing a data model of the primary operation to the corresponding pre operation instance, and running the corresponding pre operation instance.

3

3. The method of claim 2 , wherein recursively running all post operations in a predefined order comprises: for each corresponding post operation identifier in the plurality of post operation identifiers: creating a corresponding post operation instance using the corresponding post operation identifier, passing a data model of the primary operation to the corresponding post operation instance, and running the corresponding post operation instance.

4

4. The method of claim 1 , wherein the populating step further comprises: for each corresponding operation extension in the plurality of operation extensions, locating a corresponding function group record for the corresponding operation extension, wherein the corresponding function group record defines a corresponding function group; if no function group record is present for the corresponding operation extension, creating a corresponding function group record for each corresponding operation extension; adding the corresponding function group record to a plurality of function group records for the primary operation; and determining if a corresponding pre operation identifier is present in the corresponding operation extension.

5

5. The method of claim 4 , wherein populating an extended operation cache further comprises: if the corresponding pre operation identifier is present, adding the corresponding pre operation identifier to the corresponding function group record; and determining if a corresponding post identifier is present in the corresponding operation extension; if the corresponding post operation identifier is present, adding the corresponding post operation identifier to the corresponding function group record.

6

6. The method of claim 1 , wherein each of the plurality of pre operation identifiers and post operation identifiers are defined by one of a corresponding fully qualified name and a corresponding unique key within a factory pattern.

7

7. The method of claim 1 , wherein extended operations identified by the cached extended operation identifiers are themselves primary operations.

8

8. The method of claim 4 , further comprising: if no corresponding function group corresponding to the corresponding function group record is active, executing only the primary operation.

9

9. The method of claim 1 , wherein the plurality of operation extensions are defined in an extensible markup language file.

10

10. The method of claim 4 , wherein one or more function groups of the plurality of function groups may be active at a given time and one or more function groups of the plurality of function groups may be ordered based on a predefined priority.

11

11. The method of claim 2 , wherein the corresponding pre operation instance modifies properties of the data model if the corresponding pre operation instance so desires and wherein a corresponding post operation instance modifies properties of the data model if the corresponding post operation so desires.

12

12. The method of claim 3 , further comprising: responsive to detecting a failure of the corresponding pre operation instance, ignoring post operations corresponding to the corresponding pre operation instance.

13

13. The method of claim 1 , wherein extended operations identified by the extended operation identifiers are defined to any depth and wherein the extended operations have no knowledge of operations from which the extended operations are extended.

14

14. The method of claim 12 , wherein the extended operations are automatically extendable once the extended operations are defined.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

March 24, 2005

Publication Date

August 5, 2008

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Method and apparatus for extending operations of an application in a data processing system” (US-7409532). https://patentable.app/patents/US-7409532

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.