Class ServerWithJNDI


  • public class ServerWithJNDI
    extends java.lang.Object
    ServerWithJNDI
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerWithJNDI()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Server createServer​(int port)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerWithJNDI

        public ServerWithJNDI()
    • Method Detail

      • createServer

        public static Server createServer​(int port)
                                   throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception