[ 
https://issues.apache.org/jira/browse/CXF-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831410#comment-13831410
 ] 

Sergey Beryozkin commented on CXF-4199:
---------------------------------------

Hi Andriy

I think we should not add any specific properties to the factory bean, as the 
auto-discovery is a higher-level feature, the factory just gets the available 
roots and providers and prepares the server/application. 

Have a look please at JAXRSServerFactoryBeanDefinitionParser. Can we simply 
update it like this: if it catches a scan-packages (or lets call it 
'base-package' to be 'closer' to Spring) attribute then it will create a Spring 
component scanner instance, and register root classes and providers with the 
JAXRSServerFactoryBean ?

Thanks, Sergey



  

> Support class-scanning for discovering JAX-RS providers 
> --------------------------------------------------------
>
>                 Key: CXF-4199
>                 URL: https://issues.apache.org/jira/browse/CXF-4199
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>
> With the search extensions module containing a provider the time has come to 
> support the optional class-scanning. Will help in cases when the providers 
> are simple and no extra configuration is expected. Post 2.6 though



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to