Package ch.swissqr.service.web
Class Main
- java.lang.Object
-
- ch.swissqr.service.web.Main
-
public class Main extends Object
Startup of the webservice on localhost. The port can be passed as parameter. If no port is indicated we use port 9990.- Author:
- pschatzmann
-
-
Constructor Summary
Constructors Constructor Description Main()Constructor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisAvailable()isAvailable.static voidmain(String[] args)Starts the service serverstatic voidstop()stop.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws UnknownHostException
Starts the service server- Parameters:
args- an array ofStringobjects- Throws:
UnknownHostException
-
stop
public static void stop()
stop.
-
isAvailable
public static boolean isAvailable()
isAvailable.
- Returns:
- a boolean
-
-