[
https://issues.apache.org/jira/browse/CXF-5576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949186#comment-13949186
]
Andriy Redko edited comment on CXF-5576 at 3/27/14 11:38 AM:
-------------------------------------------------------------
Hi Sergey,
Gotcha ... The beans without @Inject won't be wired up but it may be worked
around mostly all the time with @Produces and setting the properties manually.
Exploiting Application more (its properties, classes and singletons) is giving
as mostly everything to configure the application properly, I am very close to
have it implemented (will try to finish up this week, add test cases,
examples). The one "hack" we have to absorb is about Feature: JAX-RS spec
defines Feature interface and we also have one. We may support only ours as it
allows us to customize JAXRSServerFactoryBean with probably all we need. Sounds
right?
Thanks.
Andriy.
was (Author: reta):
Hi Sergey,
Gotcha ... The beans without @Inject won't be wired up but it may be worked
around mostly all the time with @Produces and setting the properties manually.
Exploiting Application more (its properties, classes and singletons) is giving
as mostly everything to configure the application properly, I am very close to
have it implemented (will try to finish up this week, add test cases, tests).
The one "hack" we have to absorb is about Feature: JAX-RS spec defines Feature
interface and we also have one. We may support only ours as it allows us to
customize JAXRSServerFactoryBean with probably all we need. Sounds right?
Thanks.
Andriy.
> Initital support for CDI integration
> ------------------------------------
>
> Key: CXF-5576
> URL: https://issues.apache.org/jira/browse/CXF-5576
> Project: CXF
> Issue Type: Improvement
> Components: Core
> Affects Versions: 3.0.0
> Reporter: Andriy Redko
> Assignee: Andriy Redko
> Labels: cdi
> Attachments: weld-one-jar.zip, weld-one-war.zip
>
>
> A per section 10.2.3 Context and Dependency Injection (CDI) of JAX-RS 2.0
> specification, in a product that supports CDI, the implementations MUST
> support the use of CDI-style Beans as root resource classes, providers and
> Application subclasses. Providers and Application subclasses MUST be
> singletons or use application scope.
--
This message was sent by Atlassian JIRA
(v6.2#6252)