]
David Lloyd commented on JBAS-9264:
-----------------------------------
See org.jboss.threads.JBossExecutors#protectedExecutorService() for how to get an
ExecutorService for an Executor.
BoundedQueueThreadPoolService provides Executor instead of
ExecutorService
--------------------------------------------------------------------------
Key: JBAS-9264
URL:
https://issues.jboss.org/browse/JBAS-9264
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Domain Management
Affects Versions: 7.0.0.Beta2
Reporter: Paul Ferraro
Currently, there is no thread service that provides a j.u.c.ExecutorService using a
bounded queue thread pool.
The existing BoundedQueueThreadPoolService only provides a j.u.c.Executor, instead of the
far more useful j.u.c.ExecutorService. The exposed j.u.c.Executor cannot even be cast to
an j.u.c.ExecutorService, since the underlying QueueExecutor is wrapped by a decorator
that does not implement j.u.c.ExecutorService.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: