Package org.bkvm.server
Class ServerMain
- java.lang.Object
-
- org.bkvm.server.ServerMain
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ServerMain extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ServerMain(java.util.Properties configuration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static ServerMaingetRunningInstance()java.lang.StringgetUiurl()booleanisStarted()voidjoin()static voidmain(java.lang.String... args)voidstart()
-
-
-
Method Detail
-
main
public static void main(java.lang.String... args)
-
getRunningInstance
public static ServerMain getRunningInstance()
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
isStarted
public boolean isStarted()
-
join
public void join()
-
start
public void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
getUiurl
public java.lang.String getUiurl()
-
-