Package org.apache.cxf.testutil.common
Class EmbeddedJMSBrokerLauncher
- java.lang.Object
-
- org.apache.cxf.testutil.common.AbstractTestServerBase
-
- org.apache.cxf.testutil.common.AbstractBusTestServerBase
-
- org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher
-
public class EmbeddedJMSBrokerLauncher extends AbstractBusTestServerBase
-
-
Constructor Summary
Constructors Constructor Description EmbeddedJMSBrokerLauncher()EmbeddedJMSBrokerLauncher(String url)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBrokerURL()StringgetEncodedBrokerURL()static voidmain(String[] args)voidrun()method implemented by test servers.voidsetBrokerName(String s)voidstop()voidtearDown()voidupdateWsdl(org.apache.cxf.Bus b, String wsdlLocation)voidupdateWsdl(org.apache.cxf.Bus b, URL wsdlLocation)static voidupdateWsdlExtensors(org.apache.cxf.Bus bus, String wsdlLocation)static voidupdateWsdlExtensors(org.apache.cxf.Bus bus, String wsdlLocation, String url, String encodedUrl)-
Methods inherited from class org.apache.cxf.testutil.common.AbstractBusTestServerBase
getBus, setBus, stopInProcess
-
Methods inherited from class org.apache.cxf.testutil.common.AbstractTestServerBase
allocatePort, allocatePort, allocatePortAsInt, getLog, ready, setUp, start, startFailed, startInProcess, verify
-
-
-
-
Field Detail
-
PORT
public static final String PORT
-
-
Constructor Detail
-
EmbeddedJMSBrokerLauncher
public EmbeddedJMSBrokerLauncher()
-
EmbeddedJMSBrokerLauncher
public EmbeddedJMSBrokerLauncher(String url)
-
-
Method Detail
-
setBrokerName
public void setBrokerName(String s)
-
getBrokerURL
public String getBrokerURL()
-
getEncodedBrokerURL
public String getEncodedBrokerURL()
-
updateWsdl
public void updateWsdl(org.apache.cxf.Bus b, URL wsdlLocation)
-
updateWsdl
public void updateWsdl(org.apache.cxf.Bus b, String wsdlLocation)
-
updateWsdlExtensors
public static void updateWsdlExtensors(org.apache.cxf.Bus bus, String wsdlLocation)
-
updateWsdlExtensors
public static void updateWsdlExtensors(org.apache.cxf.Bus bus, String wsdlLocation, String url, String encodedUrl)
-
tearDown
public void tearDown() throws Exception- Overrides:
tearDownin classAbstractTestServerBase- Throws:
Exception
-
run
public final void run() throws ExceptionDescription copied from class:AbstractTestServerBasemethod implemented by test servers. Initialise servants and publish endpoints etc.- Specified by:
runin classAbstractTestServerBase- Throws:
Exception
-
-