This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 230074 - CDI should provide hint at beans which will not be provided in bean archive
Summary: CDI should provide hint at beans which will not be provided in bean archive
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-22 04:44 UTC by Martin Fousek
Modified: 2016-07-07 08:56 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2013-05-22 04:44:52 UTC
According to issue #230015c#3-4:

With the approach of CDI1.1 and 'implicit bean archives' CDI should provide info/warning hint that beans will not be deployed in bean archives.
Comment 1 Sergey Petrov 2013-06-05 05:06:33 UTC
There is one more related question, should these beans be visible in code completion in jsf pages or not.
Comment 2 Martin Fousek 2013-06-05 09:26:42 UTC
(In reply to comment #1)
> There is one more related question, should these beans be visible in code
> completion in jsf pages or not.

I suppose that this question could answer issue #230014. Once our CDI support will reflect CDI1.1 model changes, its model shouldn't probably provide Named beans which will not be available in the CDI bean archive.
Comment 3 Sergey Petrov 2013-08-28 12:20:12 UTC
It may not be clearly valid issue, as almost any class can be a bean, it have no sense to mark any class with the warning, but the warning about unsatisfied dependencies may be extended to support a hint for suitable objects which may match in case if bean archive type change into "all" or if provide a scope for supposed target beans.
Comment 4 Martin Balin 2016-07-07 08:56:38 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss