The definition of ThreadFactory interface as per documentation is An object that creates new threads on demand. Using thread factories removes hardwiring of calls to new Thread, enabling applications to use special thread subclasses, priorities, etc.
I have not been able to understand the term hardwiring of calls to new Thread , also I am not able to understand the proper use and purpose of ThreadFactory
Kindly please explain. Thanks.