1 /* 2 * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved. 3 */ 4 package com.tc.test.server.util; 5 6 import com.tc.util.PortChooser; 7 8 public class AppServerUtil { 9 10 private static final PortChooser pc = new PortChooser(); 11 12 public static int getPort() throws Exception { 13 return pc.chooseRandomPort(); 14 } 15 } 16