Package org.opencms.jlan
Class CmsJlanThreadManager
- java.lang.Object
-
- org.opencms.jlan.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.
-
Constructor Summary
Constructors Constructor Description CmsJlanThreadManager()
-
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.
-
-
-
Constructor Detail
-
CmsJlanThreadManager
public CmsJlanThreadManager()
-
-