[
https://issues.jboss.org/browse/JBIDE-8692?page=com.atlassian.jira.plugin...
]
Viacheslav Kabanovich commented on JBIDE-8692:
----------------------------------------------
Screenshots AllGenericBeansOption.png and AllGenericBeansOption_List.png demonstrate the
following example.
MyGenericType - generic type annotation.
MyExtendedConfiguration - generic bean.
MyConfigurationProducer.getOneConfig() and MyConfigurationProducer.getSecondConfig() -
generic producer beans.
So, there are totally three generic beans for generic type MyGenericType. Hence, for each
bean annotated @GenericConfiguration(MyGenericType.class), three generic configuration
beans will be created, where for each producer and for each injection point annotated
@Inject @Generic corresponding set of qualifiers will be added.
MyGenericBean and MyGenericBean2 are two beans annotated with
@GenericConfiguration(MyGenericType.class).
MyGenericBean has producer MyBean createMyFirstBean() and MyGenericBean2 has generic
injection point MyBean c;
When open-on invoked on the injection point (MyBean c), it displays options (see
AllGenericBeansOption.png):
1) createMyFirstBean() - that producer provides bean for that injection point with any
configuration;
2) Show All Generic Beans...
The second option when selected displays three relevant generic beans (see
AllGenericBeansOption_List.png).
OpenOn for @Inject @Generic
---------------------------
Key: JBIDE-8692
URL:
https://issues.jboss.org/browse/JBIDE-8692
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi (jsr-299)
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Labels: new_and_noteworthy
Fix For: 3.3.x
Attachments: AllGenericBeansOption.png, AllGenericBeansOption_List.png
If user Ctrl+click on
@Inject @Generic SomeConfigurationType config;
we should suggest opening all the available configuration points/types.
This info will be available in Seam Solder Tools model. See JBIDE-8674
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira