How to provide my own ThreadFactory?
hugree opened this issue · 3 comments
hugree commented
I really wanna use my own ThreadFactory implementation.
Is there a way to inject it into the ExecutorServiceExposer?
Thanks!
AdamBien commented
I created a test to demonstrate replacement of application-specfic test factory: 0b31441
Does this answer your question?
AdamBien commented
I described the extension mechanism also in the following post: How To Replace Classes With Java EE--After The Fact
hugree commented
Thank you Adam! That covers it nicely. Now my tests can use a different ThreadFactory. Loving the Java EE world more and more with each minute ;)