×

Universal module model

  • US 8,484,616 B1
  • Filed: 06/23/2009
  • Issued: 07/09/2013
  • Est. Priority Date: 06/23/2009
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for processing a module comprising:

  • generating a module for execution on a target operating system, said module including four entry points and code portions associated with each of said four entry points, said four entry points corresponding to four handlers invoked at different processing points in connection with a runtime state associated with said module, said four handlers including a load handler invoked in connection with dynamically loading said module, an unload handler invoked in connection with dynamically unloading said module, a start handler invoked in connection with starting module-specific processing performed by said module, and a quiesce handler invoked in connection with a request to commence preparation for unloading the module;

    performing first processing in connection with the module, said first processing including at least one of dynamically loading the module, dynamically unloading the module, starting module-specific processing performed by the module, and issuing a request to commence preparation for unloading the module; and

    invoking an appropriate one or more of the four handlers in accordance with the first processing performed, wherein said module is dynamically loaded into an address space of a target container, said target container including code for managing a container module database of modules and associated module information of modules included in the target container, wherein said code for managing a container module database is executed prior to each invocation of any of the four handlers to perform processing at runtime when executing code of the target container to enforce rules of a runtime state model for the module thereby verifying that the module is in an allowable state for a requested transition to another state associated with one of the four handlers subsequently invoked in said each invocation, said runtime state model including valid transitions between runtime states associated with each of said four handlers, said code for managing the container module database acting as a proxy to facilitate invocation of any of the four handlers upon successfully verifying the module is in an allowable state for a requested transition.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×