Just to add further, I can confirm that this below correctly injects the default ManagedThreadFactory.
private ManagedThreadFactory threadFactory;
Also, in GlassFish you can specify the JNDI name for any concurrent resource as follows.
<managed-thread-factory jndi-name="MyManagedThreadFactory" thread-priority="1"></managed-thread-factory>
Surely we can also do this in Wildfly, or is this still to be developed?
Awesome, just pulled the latest code, and jndi-name attribute has been added.