no message
parent
d8e3227d34
commit
fde00e2895
@ -0,0 +1,16 @@
|
||||
package cokr.xit.custom.boot;
|
||||
|
||||
import org.apache.cxf.transport.servlet.CXFServlet;
|
||||
import org.springframework.boot.web.servlet.ServletRegistrationBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class ServletConfig2 {
|
||||
|
||||
@Bean
|
||||
public ServletRegistrationBean<CXFServlet> cxfServlet() {
|
||||
return new ServletRegistrationBean<>(new CXFServlet(), "/lvis/services/*");
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue