public class JaxWsWebServicePublisherBeanPostProcessor
extends org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.web.context.ServletConfigAware, org.springframework.beans.factory.BeanFactoryAware
org.apache.cxf.transport.servlet#CXFServlet
from the
cxf-rt-transports-http-jetty library, which is not part of
the standard dependencies of the JAX-WS front
end.
If you use this processor in an environment with no servlet, it will still launch the
endpoints using the embedded CXF server.Modifier and Type | Class and Description |
---|---|
static class |
JaxWsWebServicePublisherBeanPostProcessor.ServletAdapter |
Constructor and Description |
---|
JaxWsWebServicePublisherBeanPostProcessor() |
Modifier and Type | Method and Description |
---|---|
String |
getPrototypeDataBindingBeanName() |
String |
getPrototypeServerFactoryBeanName() |
boolean |
isCustomizedDataBinding()
For Unit Test.
|
boolean |
isCustomizedServerFactory()
For Unit Test.
|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setPrototypeDataBindingBeanName(String prototypeDataBindingBeanName)
Set the data binding for all services launched by this bean.
|
void |
setPrototypeServerFactoryBeanName(String prototypeServerFactoryBeanName)
Set the server factory for all services launched by this bean.
|
void |
setServletConfig(javax.servlet.ServletConfig servletConfig) |
void |
setUrlPrefix(String urlPrefix)
Set the prefix for the generated endpoint URLs.
|
buildPathExposingHandler, exposePathWithinMapping, exposeUriTemplateVariables, getHandlerInternal, getHandlerMap, getRootHandler, lookupHandler, registerHandler, registerHandler, setLazyInitHandlers, setRootHandler, supportsTypeLevelMappings, validateHandler
adaptInterceptor, detectMappedInterceptors, extendInterceptors, getAdaptedInterceptors, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelper
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public JaxWsWebServicePublisherBeanPostProcessor() throws SecurityException, NoSuchMethodException, ClassNotFoundException
public void setUrlPrefix(String urlPrefix)
urlPrefix
- public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public void setServletConfig(javax.servlet.ServletConfig servletConfig)
setServletConfig
in interface org.springframework.web.context.ServletConfigAware
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public String getPrototypeServerFactoryBeanName()
public void setPrototypeServerFactoryBeanName(String prototypeServerFactoryBeanName)
org.apache.cxf.frontend#ServerFactoryBean
.prototypeServerFactoryBeanName
- public String getPrototypeDataBindingBeanName()
public void setPrototypeDataBindingBeanName(String prototypeDataBindingBeanName)
org.apache.cxf.databinding#DataBinding
.prototypeDataBindingBeanName
- public boolean isCustomizedServerFactory()
public boolean isCustomizedDataBinding()
Apache CXF