Using a resource context to access resources and source data for a transform
First Claim
Patent Images
1. A method, comprising:
- receiving, by a transform, a request to transform source data;
calling, by the transform, a resource context;
initializing, by the resource context, a resource object for the transform;
acquiring, by the resource context, from a remote location associations to source data and resources used by the transform to transform the source data;
maintaining, by the resource context, the acquired associations to source data and resources in the resource object for the transform;
supplying, by the resource context, the associations to the source data and resources to the transform;
transforming, by the transform, the source data using the resources and information received from a client to produce transformed output; and
maintaining, by a client context, status information on providing the output to the client;
detecting a failure occurring in the transmission of the output to the client; and
recovering from the failure using the status information to continue providing the output to the client from the last transmitted output prior to the failure.
3 Assignments
0 Petitions
Accused Products
Abstract
Provided are a method, system, and article of manufacture for using a resource context to access resources and source data for a transform. A transform receives a request to transform source data and calls a resource context. The resource context initializes a resource object for the transform and acquires associations to source data and resources needed by the transform. The resource context maintains the acquired associations to source data and resources in the resource object for the transform and supplies the associations to the source data and resources to the transform. The transform transforms the source data using the resources to produce output and provides the output to the resource context.
-
Citations
19 Claims
-
1. A method, comprising:
-
receiving, by a transform, a request to transform source data; calling, by the transform, a resource context; initializing, by the resource context, a resource object for the transform; acquiring, by the resource context, from a remote location associations to source data and resources used by the transform to transform the source data; maintaining, by the resource context, the acquired associations to source data and resources in the resource object for the transform; supplying, by the resource context, the associations to the source data and resources to the transform; transforming, by the transform, the source data using the resources and information received from a client to produce transformed output; and maintaining, by a client context, status information on providing the output to the client; detecting a failure occurring in the transmission of the output to the client; and recovering from the failure using the status information to continue providing the output to the client from the last transmitted output prior to the failure. - View Dependent Claims (2, 3, 4, 5)
-
- 6. The method of 1, wherein the source data is received in a first page description language and transformed by the transform into a second page description language.
-
8. A system, comprising:
a processor to execute; a transform for receiving a request to transform source data and calling a resource context; a resource context enabled to perform operations, comprising; initializing a resource object for the transform; acquiring from a remote location associations to source data and resources used by the transform to transform the source data; maintaining the acquired associations to source data and resources in the resource object for the transform; and supplying the associations to the source data and resources to the transform, wherein the transform further transforms the source data using the resources and information received from a client to produce transformed output; and
provide the output to the resource context; anda client context enabled to perform operations, comprising; maintaining status information on providing the output to a client; detecting a failure occurring in the transmission of the output to the client; and recovering from the failure using the status information to continue providing the output to the client from the last transmitted output prior to the failure. - View Dependent Claims (9, 10, 11, 12)
-
13. An article of manufacture including a non-transitory machine readable medium having code to implement a transform and resource context, wherein the code is executed by a processor to cause the transform and resource context to perform operations, the operations comprising:
-
receiving, by the transform, a request to transform source data; calling, by the transform, the resource context; initializing, by the resource context, a resource object for the transform; acquiring, by the resource context, from a remote location associations to source data and resources used by the transform to transform the source data; maintaining, by the resource context, the acquired associations to source data and resources in the resource object for the transform; supplying, by the resource context, the source data and resources to the transform; transforming, by the transform, the source data using the resources and information received from a client to produce transformed output; and maintaining, by a client context, status information on providing the output to the client; detecting a failure occurring in the transmission of the output to the client; and recovering from the failure using the status information to continue providing the output to the client from the last transmitted output prior to the failure. - View Dependent Claims (14, 15, 16, 17)
-
-
18. The method of 6, wherein the client is a printer that prints the output received in the second page description language.
-
19. The method of 1, wherein the source data is received in a page description language and transformed by the transform into presentation data to be displayed at a display device.
Specification