Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-869

Service control free threading cleanup...

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • System Controls
    • None

    Description

      Currently the service control is coded to be able to be used in a free-threaded manner (such as from a servlet) which is not the use pattern for Beehive controls.

      Cleanup should include:

      1) Remove the Thread.locals from the HeaderHandler class of the control.
      2) Add onAquire() and onRelease() control event handlers to the service control (see jdbc control for examples of these)
      2a) Move the invocation of the initialize() method from the invoke() method of the control to the onAquire() method
      2b) Do any control cleanup in the onRelease() method
      3) Add a cache for Call objects created by the control, and the logic necessary to resuse the cached Calls.

      Once these changes have been completed there may be some additional work to clean up service control support for JAX-RPC handlers (BEEHIVE-867)

      Attachments

        1. BEEHIVE-869.diff
          80 kB
          Chad Schoettger
        2. BEEHIVE-869.txt
          0.2 kB
          Chad Schoettger
        3. BEEHIVE-869.zip
          11 kB
          Chad Schoettger

        Activity

          People

            ekoneil Edward O'Neil
            chad_s Chad Schoettger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: