Package org.apache.cxf.jaxrs.spring
Class AbstractSpringComponentScanServer
java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.jaxrs.spring.AbstractSpringConfigurationFactory
org.apache.cxf.jaxrs.spring.AbstractSpringComponentScanServer
- All Implemented Interfaces:
org.apache.cxf.interceptor.InterceptorProvider,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
SpringComponentScanServer
@ComponentScan(includeFilters=)
public abstract class AbstractSpringComponentScanServer
extends AbstractSpringConfigurationFactory
-
Field Summary
Fields inherited from class org.apache.cxf.jaxrs.spring.AbstractSpringConfigurationFactory
applicationContext -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractSpringComponentScanServer(Class<? extends Annotation> serviceAnnotation) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCxfProvider(Object bean) protected voidaddCxfProvidersFromClasses(Collection<Class<?>> classes) protected JAXRSServerFactoryBeancreateFactoryBeanFromApplication(jakarta.ws.rs.core.Application app) protected org.apache.cxf.endpoint.ServerList<org.apache.cxf.feature.Feature>protected List<ResourceProvider>protected <A extends Annotation>
booleanisAnnotationAvailable(String beanName, Class<A> annClass) protected booleanisComponentMatched(String beanName, Set<String> componentScanPackagesSet, Set<String> componentScanBeansSet) protected booleanisValidComponent(String beanName, Class<? extends Annotation> ann, Set<String> componentScanPackagesSet, Set<String> componentScanBeansSet) protected booleanmatchesComponentName(String beanName, Set<String> componentScanBeansSet) protected booleanmatchesComponentPackage(String beanName, Set<String> componentScanPackagesSet) protected booleanmatchesServiceAnnotation(String beanName) protected booleannonProxyClass(String beanName) parseSetProperty(String componentScanProp) protected voidprotected voidsetJaxrsResources(JAXRSServerFactoryBean factory) Methods inherited from class org.apache.cxf.jaxrs.spring.AbstractSpringConfigurationFactory
finalizeFactorySetup, getAddress, getBus, getTransportId, parseMapSequence, setApplicationContextMethods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
-
Constructor Details
-
AbstractSpringComponentScanServer
protected AbstractSpringComponentScanServer() -
AbstractSpringComponentScanServer
-
-
Method Details
-
createJaxRsServer
protected org.apache.cxf.endpoint.Server createJaxRsServer()- Overrides:
createJaxRsServerin classAbstractSpringConfigurationFactory
-
setJaxrsResources
- Specified by:
setJaxrsResourcesin classAbstractSpringConfigurationFactory
-
setFactoryCxfProviders
-
addCxfProvidersFromClasses
-
isValidComponent
-
isComponentMatched
-
nonProxyClass
-
matchesComponentName
-
matchesComponentPackage
-
addCxfProvider
-
matchesServiceAnnotation
-
isAnnotationAvailable
-
getResourceProviders
-
getJaxrsProviders
- Overrides:
getJaxrsProvidersin classAbstractSpringConfigurationFactory
-
getFeatures
- Overrides:
getFeaturesin classAbstractSpringConfigurationFactory
-
createFactoryBeanFromApplication
protected JAXRSServerFactoryBean createFactoryBeanFromApplication(jakarta.ws.rs.core.Application app) -
parseSetProperty
-