Class CmsJlanThreadManager

java.lang.Object
org.opencms.jlan.CmsJlanThreadManager

public class CmsJlanThreadManager extends 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 
    The thread for starting the JLAN server.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Starts the JLAN server in a new thread.
    void
    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
  • Constructor Details

  • Method Details

    • 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.