johnament commented on issue #329: CXF-7501: Cannot inject field in ContainerRequestFilter (and generally, into any providers registered using FeatureContext) URL: https://github.com/apache/cxf/pull/329#issuecomment-340273268 Could you double check with an explicitly @Vetoed provider? I believe the way you run the CDI teats it discovers all veans regardless of beans.xml. On Oct 29, 2017 11:47 AM, "Andriy Redko" <[email protected]> wrote: > *@reta* commented on this pull request. > ------------------------------ > > In integration/cdi/src/main/java/org/apache/cxf/cdi/ > CdiServerConfigurableFactory.java > <https://github.com/apache/cxf/pull/329#discussion_r147585376>: > > > + public Configurable<FeatureContext> create(FeatureContext context) { > + return new CdiServerFeatureContextConfigurable(context, beanManager); > + } > + > + /** > + * Instantiates the instance of the provider using CDI/BeanManager > + */ > + private static class CdiInstantiator implements Instantiator { > + private final BeanManager beanManager; > + > + CdiInstantiator(final BeanManager beanManager) { > + this.beanManager = beanManager; > + } > + > + @Override > + public <T> Object create(Class<T> cls) { > > @johnament <https://github.com/johnament> No issues, works just fine for > Jackson as well (no deployment archives are present but the bean was > synthesized from the class). > > ? > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/apache/cxf/pull/329#discussion_r147585376>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AAGmh_QK76KRSJVoNEQLJWz9THQ_wwy6ks5sxJ4GgaJpZM4QJPlJ> > . >
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
