use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.
the class StaxServer method run.
protected void run() {
URL busFile = StaxServer.class.getResource("cxf-stax-service.xml");
Bus busLocal = new SpringBusFactory().createBus(busFile);
BusFactory.setDefaultBus(busLocal);
setBus(busLocal);
try {
new StaxServer();
} catch (Exception e) {
e.printStackTrace();
}
}
use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.
the class STSServer method run.
protected void run() {
URL busFile = STSServer.class.getResource("cxf-sts-transport.xml");
Bus busLocal = new SpringBusFactory().createBus(busFile);
BusFactory.setDefaultBus(busLocal);
setBus(busLocal);
try {
new STSServer();
} catch (Exception e) {
e.printStackTrace();
}
}
use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.
the class STSServer method run.
protected void run() {
URL busFile = STSServer.class.getResource(context);
Bus busLocal = new SpringBusFactory().createBus(busFile);
BusFactory.setDefaultBus(busLocal);
setBus(busLocal);
try {
new STSServer();
} catch (Exception e) {
e.printStackTrace();
}
}
use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.
the class StaxSTSServer method run.
protected void run() {
URL busFile = StaxSTSServer.class.getResource(context);
Bus busLocal = new SpringBusFactory().createBus(busFile);
BusFactory.setDefaultBus(busLocal);
setBus(busLocal);
try {
new StaxSTSServer();
} catch (Exception e) {
e.printStackTrace();
}
}
use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.
the class Intermediary method run.
protected void run() {
URL busFile = Intermediary.class.getResource("cxf-intermediary.xml");
Bus busLocal = new SpringBusFactory().createBus(busFile);
BusFactory.setDefaultBus(busLocal);
setBus(busLocal);
try {
new Intermediary();
} catch (Exception e) {
e.printStackTrace();
}
}
Aggregations