Package org.apache.cxf.testutil.common
Class AbstractClientServerTestBase
- java.lang.Object
-
- org.apache.cxf.testutil.common.AbstractClientServerTestBase
-
- Direct Known Subclasses:
AbstractBusClientServerTestBase
public abstract class AbstractClientServerTestBase extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractClientServerTestBase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static String
allocatePort(Class<?> cls)
protected static String
allocatePort(Class<?> cls, int count)
protected static String
allocatePort(String s)
static boolean
launchServer(Class<?> clz)
Starts the server inProcessstatic boolean
launchServer(Class<?> clz, boolean inProcess)
Starts the server inProcess or out of process depending on the paramstatic boolean
launchServer(Class<?> clz, Map<String,String> props, String[] args)
Starts the server inProcessstatic boolean
launchServer(Class<?> clz, Map<String,String> props, String[] args, boolean inProcess)
Starts the server inProcess or out of process depending on the paramstatic boolean
launchServer(AbstractTestServerBase base)
Starts the server inProcessprotected void
setAddress(Object o, String address)
static void
stopAllServers()
protected void
updateAddressPort(Object o, String port)
-
-
-
Method Detail
-
launchServer
public static boolean launchServer(AbstractTestServerBase base)
Starts the server inProcess
-
launchServer
public static boolean launchServer(Class<?> clz)
Starts the server inProcess
-
launchServer
public static boolean launchServer(Class<?> clz, boolean inProcess)
Starts the server inProcess or out of process depending on the param
-
launchServer
public static boolean launchServer(Class<?> clz, Map<String,String> props, String[] args)
Starts the server inProcess
-
launchServer
public static boolean launchServer(Class<?> clz, Map<String,String> props, String[] args, boolean inProcess)
Starts the server inProcess or out of process depending on the param
-
updateAddressPort
protected void updateAddressPort(Object o, String port) throws NumberFormatException, MalformedURLException
-
-