use of org.apache.cxf.ws.eventing.integration.eventsink.TestingEventSinkImpl in project cxf by apache.
the class SimpleEventingIntegrationTest method createEventSinkWithWSAActionAssertion.
protected Server createEventSinkWithWSAActionAssertion(String address, String action) {
JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
factory.setBus(bus);
factory.setServiceBean(new TestingEventSinkImpl());
factory.setAddress(address);
factory.getHandlers().add(new WSAActionAssertingHandler(action));
return factory.create();
}
use of org.apache.cxf.ws.eventing.integration.eventsink.TestingEventSinkImpl in project cxf by apache.
the class SimpleEventingIntegrationTest method createEventSinkWithReferenceParametersAssertion.
protected Server createEventSinkWithReferenceParametersAssertion(String address, ReferenceParametersType params) {
JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
factory.setBus(bus);
factory.setServiceBean(new TestingEventSinkImpl());
factory.setAddress(address);
factory.getHandlers().add(new ReferenceParametersAssertingHandler(params));
return factory.create();
}
use of org.apache.cxf.ws.eventing.integration.eventsink.TestingEventSinkImpl in project cxf by apache.
the class SimpleEventingIntegrationTest method createEventSink.
protected Server createEventSink(String address) {
JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
factory.setBus(bus);
factory.setServiceBean(new TestingEventSinkImpl());
factory.setAddress(address);
return factory.create();
}
Aggregations