Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 191997 - Annotate each RESTful web service with @RequestScoped annotation if CDI enabled
Annotate each RESTful web service with @RequestScoped annotation if CDI enabled
Status: RESOLVED FIXED
Product: webservices
Classification: Unclassified
Component: REST
7.0
PC Windows XP
: P3 (vote)
: 7.0
Assigned To: Denis Anisimov
issues@webservices
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-16 10:49 UTC by Denis Anisimov
Modified: 2010-11-17 07:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Anisimov 2010-11-16 10:49:43 UTC
If you want a JAX-RS resource class to be  
managed by CDI you need to annotation it with a CDI-scope annotation  
such as @RequestScoped or @ApplicationScoped. 

It is useful to have @RequestScoped annotation for generated JAX-RS web service.
Comment 1 Denis Anisimov 2010-11-16 13:20:52 UTC
changeset:   182377:041b2973a0c2
user:        Denis Anisimov <ads@netbeans.org>
date:        Tue Nov 16 16:18:02 2010 +0300
summary:     Fix for BZ#191997 -  Annotate each RESTful web service with @RequestScoped annotation if CDI enabled
Comment 2 Quality Engineering 2010-11-17 07:09:13 UTC
Integrated into 'main-golden', will be available in build *201011170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/041b2973a0c2
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#191997 -  Annotate each RESTful web service with @RequestScoped annotation if CDI enabled


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo