org.apache.axis2.transport.testkit.util
Class ServerUtil

java.lang.Object
  extended by org.apache.axis2.transport.testkit.util.ServerUtil

public class ServerUtil
extends java.lang.Object

Utility class with methods useful when working with test servers.


Method Summary
static void waitForServer(int port)
          Wait until the server listening on a given TCP port is ready to accept connections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

waitForServer

public static void waitForServer(int port)
                          throws java.lang.Exception
Wait until the server listening on a given TCP port is ready to accept connections.

Parameters:
port - The TCP port the server listens on.
Throws:
java.lang.Exception


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.