Class VitamThreadFactory

  • All Implemented Interfaces:
    java.util.concurrent.ThreadFactory

    public class VitamThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    Simple ThreadFactory setting Threads to be Daemon threads (do not prevent shutdown) ; in addition, creates VitamThread allowing us to put session information in those threads.
    • Constructor Detail

      • VitamThreadFactory

        public VitamThreadFactory()
    • Method Detail

      • newThread

        public java.lang.Thread newThread​(java.lang.Runnable arg0)
        Specified by:
        newThread in interface java.util.concurrent.ThreadFactory