Package org.apache.cxf.testutil.common
Class AbstractClientServerTestBase
java.lang.Object
org.apache.cxf.testutil.common.AbstractClientServerTestBase
- Direct Known Subclasses:
AbstractBusClientServerTestBase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringallocatePort(Class<?> cls) protected static StringallocatePort(Class<?> cls, int count) protected static Stringstatic booleanlaunchServer(Class<?> clz) Starts the server inProcessstatic booleanlaunchServer(Class<?> clz, boolean inProcess) Starts the server inProcess or out of process depending on the paramstatic booleanStarts the server inProcessstatic booleanStarts the server inProcess or out of process depending on the paramstatic booleanStarts the server inProcessprotected voidsetAddress(Object o, String address) static voidprotected voidupdateAddressPort(Object o, String port)
-
Constructor Details
-
AbstractClientServerTestBase
public AbstractClientServerTestBase()
-
-
Method Details
-
stopAllServers
- Throws:
Exception
-
launchServer
Starts the server inProcess -
launchServer
Starts the server inProcess -
launchServer
Starts the server inProcess or out of process depending on the param -
launchServer
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 -
setAddress
-
updateAddressPort
protected void updateAddressPort(Object o, String port) throws NumberFormatException, MalformedURLException -
allocatePort
-
allocatePort
-
allocatePort
-