use of sample.rs.service.hello1.HelloServiceImpl1 in project cxf by apache.
the class SampleRestApplication method rsServer.
@Bean
public Server rsServer() {
JAXRSServerFactoryBean endpoint = new JAXRSServerFactoryBean();
endpoint.setBus(bus);
endpoint.setServiceBeans(Arrays.<Object>asList(new HelloServiceImpl1(), new HelloServiceImpl2()));
endpoint.setAddress("/");
endpoint.setFeatures(Arrays.asList(createOpenApiFeature(), new LoggingFeature()));
return endpoint.create();
}
Aggregations