[jboss-jira] [JBoss JIRA] (WFLY-13370) Eliminate fault-tolerance/executor dependence on ee subsystem module
Brian Stansberry (Jira)
issues at jboss.org
Fri Apr 10 11:37:50 EDT 2020
Brian Stansberry created WFLY-13370:
---------------------------------------
Summary: Eliminate fault-tolerance/executor dependence on ee subsystem module
Key: WFLY-13370
URL: https://issues.redhat.com/browse/WFLY-13370
Project: WildFly
Issue Type: Task
Components: MP Fault Tolerance
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 20.0.0.Beta1
FaultToleranceContainerExecutorFactory has a compile time dep on the ee subsystem module just so it can cast the ThreadFactory it looks up in JNDI to org.jboss.as.ee.concurrent.ManagedThreadFactoryImpl before returning it as a plain old ThreadFactory.
We should avoid deps between extensions. For this one, if the cast is necessary at all (i.e. as a check that the JNDI lookup is producing something valid), a cast to javax.enterprise.concurrent.ManagedThreadFactory should suffice.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list