use of org.apache.cxf.ws.eventing.integration.notificationapi.assertions.ReferenceParametersAssertingHandler in project cxf by apache.
the class SimpleEventingIntegrationTest method createEndToEndpointWithReferenceParametersAssertion.
protected Server createEndToEndpointWithReferenceParametersAssertion(String address, ReferenceParametersType params) {
JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
factory.setBus(bus);
factory.setServiceBean(new TestingEndToEndpointImpl());
factory.setAddress(address);
factory.getHandlers().add(new ReferenceParametersAssertingHandler(params));
factory.getHandlers().add(new WSAActionAssertingHandler(EventingConstants.ACTION_SUBSCRIPTION_END));
return factory.create();
}
use of org.apache.cxf.ws.eventing.integration.notificationapi.assertions.ReferenceParametersAssertingHandler 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();
}
Aggregations