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 |
mappingsLogger
BEST_MATCHING_HANDLER_ATTRIBUTE, BEST_MATCHING_PATTERN_ATTRIBUTE, INTROSPECT_TYPE_LEVEL_MAPPING, LOOKUP_PATH, MATRIX_VARIABLES_ATTRIBUTE, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTE
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, getPathPatternHandlerMap, getRootHandler, lookupHandler, lookupHandler, match, registerHandler, registerHandler, setLazyInitHandlers, setPatternParser, setRootHandler, setUseTrailingSlashMatch, supportsTypeLevelMappings, useTrailingSlashMatch, validateHandler
adaptInterceptor, detectMappedInterceptors, extendInterceptors, formatMappingName, getAdaptedInterceptors, getCorsConfiguration, getCorsConfigurationSource, getCorsHandlerExecutionChain, getCorsProcessor, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getPatternParser, getUrlPathHelper, hasCorsConfigurationSource, initApplicationContext, initInterceptors, initLookupPath, setAlwaysUseFullPath, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelper, usesPathPatterns
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
getApplicationContext, getMessageSourceAccessor, obtainApplicationContext, requiredContextClass, setApplicationContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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