Dependency-based grouping to establish class identity
First Claim
Patent Images
1. A computer-implemented method, comprising:
- receiving class metadata including;
a partitioning of a plurality of classes into a set of class groups based at least in part on one or more dependencies between ones of the plurality of classes;
for each of the plurality of classes, a respective identifier derived by applying a mathematical function to a definition of the class;
receiving a request to load a given class of the plurality of classes;
in response to receiving the request, loading the given class, said loading comprising;
retrieving a definition of the given class;
generating an identifier for the retrieved definition by applying the mathematical function to the retrieved definition; and
validating the retrieved definition of the given class prior to loading the given class for execution, wherein said validating comprises determining that the generated identifier matches the respective identifier of the given class included in the class metadata.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for using dependency-based grouping to establish class identity comprises categorizing a plurality of classes into a set of class groups based at least in part on one or more dependencies between the classes, and generating metadata to be use for loading the classes, where the metadata includes a mapping between the set of class groups and the plurality of classes. The metadata may also include respective signatures for class groups and/or the individual classes. The method may also include validating, using at least a portion of the metadata, the identity of a particular version of a class of the plurality of classes, prior to loading the version for execution.
50 Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
receiving class metadata including; a partitioning of a plurality of classes into a set of class groups based at least in part on one or more dependencies between ones of the plurality of classes; for each of the plurality of classes, a respective identifier derived by applying a mathematical function to a definition of the class; receiving a request to load a given class of the plurality of classes; in response to receiving the request, loading the given class, said loading comprising; retrieving a definition of the given class; generating an identifier for the retrieved definition by applying the mathematical function to the retrieved definition; and validating the retrieved definition of the given class prior to loading the given class for execution, wherein said validating comprises determining that the generated identifier matches the respective identifier of the given class included in the class metadata. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system, comprising:
-
one or more processors; and memory coupled to the one or more processors, wherein the memory stores program instructions executable by the one or more processors to; receive class metadata including; a partitioning of a plurality of classes into a set of class groups based at least in part on one or more dependencies between ones of the plurality of classes; for each of the plurality of classes, a respective identifier derived by applying a mathematical function to a definition of the class; receive a request to load a given class of the plurality of classes; in response to receiving the request, to load the given class, said loading comprising; retrieving a definition of the given class; generating an identifier for the retrieved definition by applying the mathematical function to the retrieved definition; and validating the retrieved definition of the given class prior to loading the given class for execution, wherein said validating comprises determining that the generated identifier matches the respective identifier of the given class included in the class metadata. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A system, comprising:
-
one or more processors; and memory coupled to the one or more processors, wherein the memory stores program instructions executable by the one or more processors to; receive metadata associated with a plurality of classes, wherein the metadata comprises a partitioning of the plurality of classes into a set of class groups based at least in part on one or more dependencies between the plurality of classes and a respective identifier for each of the plurality of classes, wherein each identifier is derived by applying a mathematical function to a definition of the respective class; receive a request to load a given class of the plurality of classes; in response to receiving the request, to load the given class, said loading comprising; retrieving a definition of the given class; generating an identifier for the retrieved definition by applying the mathematical function to the retrieved definition; and validating the definition of the given class prior to loading the version for execution, wherein said validating comprises determining that the generated identifier matches the respective identifier of the given class included in the class metadata. - View Dependent Claims (18, 19, 20)
-
Specification