Class CmsJlanThreadManager


  • public class CmsJlanThreadManager
    extends java.lang.Object
    A simple class used to start and stop JLAN.

    Since the JLAN server requires its own thread and cannot be run in the same thread as the startup, this creates a new thread solely for starting JLAN.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected class  CmsJlanThreadManager.JlanThread
      The thread for starting the JLAN server.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void start()
      Starts the JLAN server in a new thread.
      void stop()
      Tries to stop the JLAN server and return after it is stopped, but will also return if the thread hasn't stopped after MAX_SHUTDOWN_WAIT_MILLIS.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • start

        public void start()
        Starts the JLAN server in a new thread.

      • stop

        public void stop()
        Tries to stop the JLAN server and return after it is stopped, but will also return if the thread hasn't stopped after MAX_SHUTDOWN_WAIT_MILLIS.