You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <be...@incubator.apache.org> on 2005/08/02 21:00:35 UTC
[jira] Created: (BEEHIVE-869) Service control free threading cleanup...
Service control free threading cleanup...
-----------------------------------------
Key: BEEHIVE-869
URL: http://issues.apache.org/jira/browse/BEEHIVE-869
Project: Beehive
Type: Bug
Components: System Controls
Versions: TBD
Reporter: Chad Schoettger
Assigned to: Chad Schoettger
Fix For: TBD
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (BEEHIVE-869) Service control free threading cleanup...
Posted by "Chad Schoettger (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-869?page=all ]
Chad Schoettger updated BEEHIVE-869:
------------------------------------
Attachment: BEEHIVE-869.txt
BEEHIVE-869.zip
BEEHIVE-869.diff
patches attached
> Service control free threading cleanup...
> -----------------------------------------
>
> Key: BEEHIVE-869
> URL: http://issues.apache.org/jira/browse/BEEHIVE-869
> Project: Beehive
> Type: Bug
> Components: System Controls
> Versions: TBD
> Reporter: Chad Schoettger
> Assignee: Chad Schoettger
> Fix For: TBD
> Attachments: BEEHIVE-869.diff, BEEHIVE-869.txt, BEEHIVE-869.zip
>
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (BEEHIVE-869) Service control free threading cleanup...
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-869?page=all ]
Eddie O'Neil closed BEEHIVE-869:
--------------------------------
This feature was completed, and the SC doesn't use ThreadLocal any longer. Closing.
> Service control free threading cleanup...
> -----------------------------------------
>
> Key: BEEHIVE-869
> URL: http://issues.apache.org/jira/browse/BEEHIVE-869
> Project: Beehive
> Type: Bug
> Components: System Controls
> Versions: TBD
> Reporter: Chad Schoettger
> Assignee: Eddie O'Neil
> Fix For: TBD
> Attachments: BEEHIVE-869.diff, BEEHIVE-869.txt, BEEHIVE-869.zip
>
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (BEEHIVE-869) Service control free threading cleanup...
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-869?page=all ]
Eddie O'Neil resolved BEEHIVE-869:
----------------------------------
Resolution: Fixed
Patch applied in SVN 230690.
> Service control free threading cleanup...
> -----------------------------------------
>
> Key: BEEHIVE-869
> URL: http://issues.apache.org/jira/browse/BEEHIVE-869
> Project: Beehive
> Type: Bug
> Components: System Controls
> Versions: TBD
> Reporter: Chad Schoettger
> Assignee: Eddie O'Neil
> Fix For: TBD
> Attachments: BEEHIVE-869.diff, BEEHIVE-869.txt, BEEHIVE-869.zip
>
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Assigned: (BEEHIVE-869) Service control free threading cleanup...
Posted by "Chad Schoettger (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-869?page=all ]
Chad Schoettger reassigned BEEHIVE-869:
---------------------------------------
Assign To: Eddie O'Neil (was: Chad Schoettger)
assigned to Eddie for commit/review.
> Service control free threading cleanup...
> -----------------------------------------
>
> Key: BEEHIVE-869
> URL: http://issues.apache.org/jira/browse/BEEHIVE-869
> Project: Beehive
> Type: Bug
> Components: System Controls
> Versions: TBD
> Reporter: Chad Schoettger
> Assignee: Eddie O'Neil
> Fix For: TBD
> Attachments: BEEHIVE-869.diff, BEEHIVE-869.txt, BEEHIVE-869.zip
>
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira