Loading a chain of processors from an XML file
First Claim
1. A method for loading a plurality of dynamically linked assemblies during the execution of an application program, comprising:
- reading, by the application program under control of a computer, a configuration file stored in a memory, the configuration file including a load sequence for the plurality of dynamically linked assemblies and a class used for processing each dynamically linked assembly, the load sequence indicating a determined order for loading the plurality of dynamically linked assemblies;
loading, by the application program under control of the computer, the plurality of dynamically linked assemblies in the determined order indicated by the load sequence read from the configuration file, each class having a common dataset, each of the plurality of dynamically linked assemblies being independent from the other of the plurality of dynamically linked assemblies; and
sending, by the application program under control of the computer, a first process request defined by a first of the classes specified in the configuration file for a corresponding first of the plurality of dynamically linked assemblies to the first dynamically linked assembly to cause the first dynamically linked assembly to send a second process request defined by a second of the classes specified in the configuration file for a corresponding second of the plurality of dynamically linked assemblies to the second dynamically linked assembly in the determined order indicated by the load sequence;
responsive to receiving the first process request, processing the first dynamically linked assembly using the first class specified in the configuration file and, responsive to receiving the second process request, processing the second dynamically linked assembly using the second class specified in the configuration file in the determined order indicated by the load sequence; and
modifying the load sequence of the plurality of dynamically linked assemblies without modifying the application program as a result of the modifying the load sequence, wherein the modifying includes adding at least one dynamically linked assembly to the plurality of dynamically linked assemblies or rearranging the load sequence of the plurality of dynamically linked assemblies.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for loading a plurality of dynamically linked assemblies during the execution of an application program is disclosed. The application program reads a configuration file that includes a load sequence for the plurality of dynamically linked assemblies and a class associated with each dynamically linked assembly. The plurality of dynamically linked assemblies are loaded in accordance with the load sequence read from the configuration file. Each class has a common dataset and each of the plurality of dynamically linked assemblies is independent from the other of the plurality of dynamically linked assemblies. A process request defined by the associated class is sent to at least a first of the plurality of dynamically linked assemblies.
-
Citations
14 Claims
-
1. A method for loading a plurality of dynamically linked assemblies during the execution of an application program, comprising:
-
reading, by the application program under control of a computer, a configuration file stored in a memory, the configuration file including a load sequence for the plurality of dynamically linked assemblies and a class used for processing each dynamically linked assembly, the load sequence indicating a determined order for loading the plurality of dynamically linked assemblies; loading, by the application program under control of the computer, the plurality of dynamically linked assemblies in the determined order indicated by the load sequence read from the configuration file, each class having a common dataset, each of the plurality of dynamically linked assemblies being independent from the other of the plurality of dynamically linked assemblies; and sending, by the application program under control of the computer, a first process request defined by a first of the classes specified in the configuration file for a corresponding first of the plurality of dynamically linked assemblies to the first dynamically linked assembly to cause the first dynamically linked assembly to send a second process request defined by a second of the classes specified in the configuration file for a corresponding second of the plurality of dynamically linked assemblies to the second dynamically linked assembly in the determined order indicated by the load sequence; responsive to receiving the first process request, processing the first dynamically linked assembly using the first class specified in the configuration file and, responsive to receiving the second process request, processing the second dynamically linked assembly using the second class specified in the configuration file in the determined order indicated by the load sequence; and modifying the load sequence of the plurality of dynamically linked assemblies without modifying the application program as a result of the modifying the load sequence, wherein the modifying includes adding at least one dynamically linked assembly to the plurality of dynamically linked assemblies or rearranging the load sequence of the plurality of dynamically linked assemblies. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for manipulating data from one or more power-monitoring databases with an application program, the method comprising:
-
reading, by the application program under control of a computer coupled to a power monitoring system, a configuration file stored in a memory to determine a process order for a plurality of dynamically linked libraries and to determine a respective class associated with each of the plurality of dynamically linked libraries and used for processing each of the corresponding dynamically linked libraries, the power monitoring system including a plurality of monitoring devices that each measures a characteristic of an electrical signal and communicates data indicative of the characteristic to one or more power-monitoring databases for storage therein; loading, by the application program under control of the computer, the plurality of dynamically linked libraries in accordance with the process order, each of the classes associated with the plurality of dynamically linked libraries having an associated common dataset; responsive to the loading, the application program sending a first process request defined by a first of the classes specified in the configuration file for a first of the plurality of dynamically linked libraries to the first dynamically linked library in accordance with the process order to cause the first dynamically linked library to be executed and to send a second process request defined by a second of the classes specified in the configuration file to a second of the plurality of dynamically linked libraries according to the process order to cause the second dynamically linked library to be executed; responsive to receiving the first process request, processing the first dynamically linked library using the first class specified in the configuration file and, responsive to receiving the second process request, processing the second dynamically linked library using the second class specified in the configuration file in the process order; and modifying the configuration file to change the process order of the plurality of dynamically linked libraries without recompiling the application program as a result of the modifying, wherein the modifying includes adding at least one additional dynamically linked library to the plurality of dynamically linked libraries or rearranging the process order of the plurality of dynamically linked libraries. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification