AdamBien/porcupine

How to provide my own ThreadFactory?

hugree opened this issue · 3 comments

I really wanna use my own ThreadFactory implementation.

Is there a way to inject it into the ExecutorServiceExposer?

Thanks!

I created a test to demonstrate replacement of application-specfic test factory: 0b31441
Does this answer your question?

I described the extension mechanism also in the following post: How To Replace Classes With Java EE--After The Fact

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 ;)