×

Computer product for a dynamically generated wrapper class

  • US 7,472,401 B2
  • Filed: 11/12/2003
  • Issued: 12/30/2008
  • Est. Priority Date: 02/28/2003
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer-readable storage medium storing instructions for processing an invocation at a dynamically generated wrapper, comprising the steps of:

  • receiving, from an application, an invocation by a wrapper object, the wrapper object instantiated from a wrapper class, the wrapper class extended from a superclass which implements a wrapper interface that includes a pre-invocation handler and a post-invocation handler, the invocation directed to a wrapped resource adapter;

    initiating pre-processing by calling a pre-invocation handler configured to execute server-side code wherein the server-side code includes transaction processing code;

    calling the wrapped object;

    receiving a result from the wrapped object;

    initiating post-processing by calling a post-invocation handler configured to execute post processing server-side tasks wherein the post-processing server-side tasks include transaction management; and

    providing the result to the application, thereby enabling the application to access vendor specific extension methods of the wrapped resource adapter;

    wherein the superclass has a member variable to hold a vendor object, a non-argument constructor to instantiate the wrapper object, and an init method to initialize the wrapper object.

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