×

Apparatus and method for dynamically modifying class files during loading for execution

  • US 6,072,953 A
  • Filed: 09/30/1997
  • Issued: 06/06/2000
  • Est. Priority Date: 09/30/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer-implemented method for enabling programmatic semantic modifications to class files as said files are loaded for execution by a loading and execution process, said method comprising the steps of:

  • providing an extended class loader;

    receiving, by said extended class loader, a request for loading a selected one of said class files, wherein said request is generated from an executing application program and wherein said selected class file contains executable program code to be executed as a part of said application program;

    retrieving, by said extended class loader, said selected class file;

    determining, by evaluating one or more specified conditions from a stored control file, whether said retrieved class file is to be semantically modified prior to an execution of said executable program code;

    if any of said conditions are met, performing the steps of;

    applying one or more semantic modifications to said executable program code in said retrieved class file by executing one or more stored transformations associated with said stored conditions, creating a dynamically modified class file; and

    delivering said dynamically modified class file as a result of said request; and

    if none of said conditions are met, delivering said retrieved class file as said result of said request.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×