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 String
allocatePort
(Class<?> cls) protected static String
allocatePort
(Class<?> cls, int count) protected static String
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
Starts the server inProcessstatic boolean
Starts the server inProcess or out of process depending on the paramstatic boolean
Starts the server inProcessprotected void
setAddress
(Object o, String address) static void
protected void
updateAddressPort
(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
-