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

ASF GitHub Bot commented on CXF-7610:
-------------------------------------

johnament commented on a change in pull request #369: [CXF-7610] - Adding SPI 
to handle customizations to the server bean.
URL: https://github.com/apache/cxf/pull/369#discussion_r166179129
 
 

 ##########
 File path: rt/rs/sse/src/main/resources/META-INF/beans.xml
 ##########
 @@ -2,5 +2,5 @@
 <beans xmlns="http://java.sun.com/xml/ns/javaee";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd";
-       bean-discovery-mode="all">
 
 Review comment:
   I ended up going the route of adding the feature's behavior into the 
extension.  Thoughts?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Manage customizations of JAXRSServerFactoryBean in JAX-RS Frontend
> ------------------------------------------------------------------
>
>                 Key: CXF-7610
>                 URL: https://issues.apache.org/jira/browse/CXF-7610
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-RS
>            Reporter: John D. Ament
>            Assignee: John D. Ament
>            Priority: Major
>
> CDI has a built in way to manage customizations to the server, via 
> implementations of beans of type 
> {{JAXRSServerFactoryCustomizationExtension}}.  However, it makes sense for 
> this to be a core feature and leverage something like a {{ServiceLoader}} 
> pattern to discover those implementations, as well as allowing CDI beans to 
> be discovered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to