Package org.apache.cxf.testutil.common
Class AbstractServerTestServerBase
- java.lang.Object
-
- org.apache.cxf.testutil.common.AbstractTestServerBase
-
- org.apache.cxf.testutil.common.AbstractServerTestServerBase
-
public abstract class AbstractServerTestServerBase extends AbstractTestServerBase
-
-
Constructor Summary
Constructors Constructor Description AbstractServerTestServerBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.apache.cxf.endpoint.Server
createServer(org.apache.cxf.Bus bus)
protected void
run()
method implemented by test servers.void
tearDown()
-
Methods inherited from class org.apache.cxf.testutil.common.AbstractTestServerBase
allocatePort, allocatePort, allocatePortAsInt, getLog, ready, setUp, start, startFailed, startInProcess, stopInProcess, verify
-
-
-
-
Method Detail
-
run
protected final void run() throws Exception
Description copied from class:AbstractTestServerBase
method implemented by test servers. Initialise servants and publish endpoints etc.- Specified by:
run
in classAbstractTestServerBase
- Throws:
Exception
-
createServer
protected abstract org.apache.cxf.endpoint.Server createServer(org.apache.cxf.Bus bus) throws Exception
- Throws:
Exception
-
tearDown
public void tearDown() throws Exception
- Overrides:
tearDown
in classAbstractTestServerBase
- Throws:
Exception
-
-