use of org.apache.cxf.bus.spring.SpringBusFactory in project cxf by apache.
the class Server method run.
protected void run() {
URL busFile = Server.class.getResource("cxf-service.xml");
Bus busLocal = new SpringBusFactory().createBus(busFile);
BusFactory.setDefaultBus(busLocal);
setBus(busLocal);
try {
new Server();
} 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-issuer-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 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 STSRESTServer method run.
protected void run() {
URL busFile = STSRESTServer.class.getResource("cxf-rest-sts.xml");
Bus busLocal = new SpringBusFactory().createBus(busFile);
BusFactory.setDefaultBus(busLocal);
setBus(busLocal);
try {
new STSRESTServer();
} 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