public class JerseyResourcesPostProcessor extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.boot.autoconfigure.jersey.ResourceConfigCustomizer, org.springframework.beans.factory.BeanClassLoaderAware
BeanFactoryPostProcessor to detect valid Path and Provider annotated bean classes and
register them in Jersey server configuration as JAX-RS resources.| Constructor and Description |
|---|
JerseyResourcesPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
customize(org.glassfish.jersey.server.ResourceConfig config) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
void |
setBeanClassLoader(ClassLoader classLoader) |
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwarepublic void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic void customize(org.glassfish.jersey.server.ResourceConfig config)
customize in interface org.springframework.boot.autoconfigure.jersey.ResourceConfigCustomizerCopyright © 2019 The Holon Platform. All rights reserved.