introduce Bierman02RestConfWiring for standalone (simple) environments
[netconf.git] / restconf / restconf-nb-bierman02 / src / main / java / org / opendaylight / netconf / sal / streams / websockets / WebSocketServer.java
index 68612749ae65de79f2b1b734f5999c45cd6d348e..a48ef200f555bdde600e4968de40d75c57a78647 100644 (file)
@@ -59,6 +59,7 @@ public final class WebSocketServer implements Runnable {
         Preconditions.checkArgument(port >= 1024, "Privileged port (below 1024) is not allowed");
 
         instance = new WebSocketServer(address, port);
+        LOG.info("Created WebSocketServer on {}:{}", address, port);
         return instance;
     }
 
@@ -104,6 +105,7 @@ public final class WebSocketServer implements Runnable {
 
         instance.stop();
         instance = null;
+        LOG.info("Destroyed WebSocketServer.");
     }
 
     @Override