Package org.lockss.ws.cxf
Class CxfConfig
java.lang.Object
org.lockss.ws.cxf.CxfConfig
Integration of the CXF infrastructure with Spring.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.web.servlet.ServletRegistrationBeanProvides the bean that registers the servlet in the container.org.apache.cxf.bus.spring.SpringBusProvides the Spring-flavored CXF Bus for adding interceptors, if needed.
-
Constructor Details
-
CxfConfig
public CxfConfig()
-
-
Method Details
-
cxfServletRegistration
@Bean public org.springframework.boot.web.servlet.ServletRegistrationBean cxfServletRegistration()Provides the bean that registers the servlet in the container.- Returns:
- a ServletRegistrationBean with the servlet registration bean.
-
springBus
@Bean(name="cxf") public org.apache.cxf.bus.spring.SpringBus springBus()Provides the Spring-flavored CXF Bus for adding interceptors, if needed.- Returns:
- a SpringBus newly created.
-