Object oriented thread context manager, method and computer program product for object oriented thread context management
First Claim
1. A computer-implemented method for object oriented thread context management, said method comprising the steps of:
- providing a context manager for managing a plurality of ContextControl objects, each said ContextControl object comprising a plurality of methods for associating and disassociating context on an execution thread for a target object;
receiving a method request for a target object at a server process and said server process calling a thread manager to obtain an execution thread;
said thread manager calling said context manager for associating context with a current execution thread for said method request;
said thread manager dispatching said method request for said target object responsive to said context manager providing associated context with said current thread; and
said thread manager calling said context manager for disassociating context with said current execution thread.
1 Assignment
0 Petitions
Accused Products
Abstract
An object oriented thread context manager, a method and computer program product are provided for object oriented thread context management. A context manager is provided for managing a plurality of ContextControl objects. Each ContextControl object comprises a plurality of methods for creating and suspending context on a thread for a target object. When a method request for a target object is received at a server process, the server process calls a thread manager requesting a thread. The thread manager calls the context manager for associating context with a current thread for the method request. Responsive to the context manager providing associated context with the current thread, the thread manager dispatches the method request for the target object. The thread manager calls the context manager for disassociating context with the current thread.
72 Citations
10 Claims
-
1. A computer-implemented method for object oriented thread context management, said method comprising the steps of:
-
providing a context manager for managing a plurality of ContextControl objects, each said ContextControl object comprising a plurality of methods for associating and disassociating context on an execution thread for a target object; receiving a method request for a target object at a server process and said server process calling a thread manager to obtain an execution thread; said thread manager calling said context manager for associating context with a current execution thread for said method request; said thread manager dispatching said method request for said target object responsive to said context manager providing associated context with said current thread; and said thread manager calling said context manager for disassociating context with said current execution thread. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product for use in a computer system having a central processor for implementing object oriented thread context management, the computer program product comprising:
-
a recording medium; means, recorded on the recording medium, for providing a context manager, said context manager for managing a plurality of ContextControl objects, each said ContextControl object comprising a plurality of methods for associating and disassociating context on an execution thread for a target object; means, recorded on the recording medium, for registering said plurality of ContextControl objects with said context manager; and means, recorded on the recording medium, for providing a thread manager, said thread manager obtaining an execution thread;
said thread manager calling said context manager for associating context with a current execution thread and said thread manager calling said context manager for disassociating context with said current execution thread. - View Dependent Claims (7, 8)
-
-
9. An object oriented thread context manager for a computer system including a thread manager for managing multiple threads, said object oriented thread context manager comprising:
-
a ContextControl class of a plurality of ContextControl objects, each said ContextControl object comprising a plurality of methods for associating and disassociating context on an execution thread for a target object; a ContextCoordinator class for managing calls to said plurality of ContextControl objects; and a ContextHandleList for storing context information for said ContextControl objects. - View Dependent Claims (10)
-
Specification