Method and apparatus for managing functions
First Claim
1. A method comprising:
- applying a first method from a first execution object, said first execution object identifying a first metadata object corresponding to a first function, said first function requiring one or more input parameters, said first metadata object storing data describing each input parameter of said first function, said first method causing the acts of,accessing the data describing each input parameter of said first function from said first metadata object;
attempting to match values associated with said first execution object to each input parameter of said first function as described by the data; and
determining a value is missing for at least a first input parameter to said first function.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for managing functions (e.g., that express business rules) to allow calling functions, maintaining functions, and providing of an execution framework for functions. In one embodiment, there are a number of functions to be maintained. An object technology infrastructure is formed to store data and metadata for the functions. For example, metadata about a function can include data describing what that function does, a “cost” associated with that function, how to execute that function, the input and output parameters required by that function. The exposure of the metadata regarding the functions'"'"' input and output parameters allows an engine to track input/output relationships between the functions and, in essence, define the order of execution.
-
Citations
24 Claims
-
1. A method comprising:
applying a first method from a first execution object, said first execution object identifying a first metadata object corresponding to a first function, said first function requiring one or more input parameters, said first metadata object storing data describing each input parameter of said first function, said first method causing the acts of, accessing the data describing each input parameter of said first function from said first metadata object; attempting to match values associated with said first execution object to each input parameter of said first function as described by the data; and determining a value is missing for at least a first input parameter to said first function. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. A method comprising:
applying a first method from a first execution object, said first execution object identifying a first of a plurality of metadata objects, each of said plurality of metadata objects identifying a different function, each of said functions having input and output parameters, wherein one or more parameters for different functions are the same, the parameters for the different functions collectively defining a set of parameter kinds, each parameter kind in said set of parameter kinds being assigned a unique key, each of said plurality of metadata objects storing the unique keys assigned the input and output parameters of the function they identify, said first method causing the acts of, accessing the key for each input parameter stored in said first metadata object; attempting to match parameter values associated with said first execution object to each of the accessed keys; and determining parameter values are missing for a set including at least one of the accessed keys. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
15. A method comprising:
-
receiving a request to locate a function that provides a particular parameter kind as an output; locating a metadata object having stored therein data identifying said particular parameter kind, said metadata object identifying a function and storing said data to indicate the particular parameter kind is an output parameter of said function; and providing an execution object that identifies said metadata object, wherein said execution object includes, a structure to identify values for a set of one or more input parameters to said function, and a method, which when applied, causes said function to be invoked using the values identified by said structure as input parameters. - View Dependent Claims (16, 17, 18)
-
-
19. A method comprising:
-
receiving a request to locate a function that provides a particular output parameter, wherein each of a plurality of metadata objects identify a different function having one or more output parameters, said output parameters for the different functions collectively defining a set of parameter kinds, each parameter kind in said set being assigned a unique key, each of said plurality of metadata objects storing the unique keys assigned the output parameters of the function they identify; locating a first of said plurality of metadata objects that stores the unique key for the particular output parameter; and creating an execution object that identifies said first metadata object, wherein said execution object includes, a structure to identify values for a set of one or more input parameters to said function identified by said first metadata object, and a method, which when applied, causes said function identified by said first metadata object to be invoked using the values identified by said structure as input parameters. - View Dependent Claims (20, 21, 22)
-
-
23. A method comprising:
applying a first method from a first execution object, said first execution object identifying a first of a plurality of metadata objects, each of said plurality of metadata objects identifying a different function, each of said functions having input and output parameters, wherein one or more parameters for different functions are the same, said parameters for the different functions collectively defining a set of parameter kinds, each parameter kind in said set of parameter kinds being assigned a unique key, each of said plurality of metadata objects storing the unique keys assigned the input and output parameters of the function they identify, said first method causing the acts of, accessing the key for each input parameter stored in said first metadata object; associating with said first execution object a value stored as part of a first of a set of context objects that was passed, said value stored for use as a first input parameter, said set of context objects being stored in a first structure of a manager object, each of said set of context objects to store values for one or more of the input parameters to said first function; and executing said first function using the parameter values associated with the first execution object as input parameters. - View Dependent Claims (24)
Specification