[jboss-jira] [JBoss JIRA] Created: (JBCOMMON-69) Expose the BasicThreadPool's executor using a getter so it can be injected onto other services.
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Fri Oct 24 11:17:27 EDT 2008
Expose the BasicThreadPool's executor using a getter so it can be injected onto other services.
-----------------------------------------------------------------------------------------------
Key: JBCOMMON-69
URL: https://jira.jboss.org/jira/browse/JBCOMMON-69
Project: JBoss Common
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: common-core (2.x)
Reporter: Adrian Brock
Currently other services within JBoss find it difficult to share the threads of the BasicThreadPool
because of the jboss specific api.
If they we expose the ThreadPoolExecutor via a getter, it can be injected or otherwise used
by these other services meaning more threads can be shared/reused.
We should wrap it with a simple Executor wrapper to avoid misuse, e.g.
the using service trying to execute shutdown()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list