Package blobit.server
Class ServerMain
- java.lang.Object
-
- blobit.server.ServerMain
-
- All Implemented Interfaces:
AutoCloseable
public class ServerMain extends Object implements AutoCloseable
Created by enrico.olivelli on 23/03/2015.
-
-
Constructor Summary
Constructors Constructor Description ServerMain(Properties configuration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ObjectManagergetClient()static ServerMaingetRunningInstance()ServergetServer()StringgetUiurl()booleanisStarted()voidjoin()static voidmain(String... args)voidstart()
-
-
-
Constructor Detail
-
ServerMain
public ServerMain(Properties configuration)
-
-
Method Detail
-
main
public static void main(String... args)
-
getRunningInstance
public static ServerMain getRunningInstance()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
isStarted
public boolean isStarted()
-
getClient
public ObjectManager getClient()
-
getServer
public Server getServer()
-
join
public void join()
-
getUiurl
public String getUiurl()
-
-