[
https://issues.jboss.org/browse/JBIDE-9187?page=com.atlassian.jira.plugin...
]
Isaac Rooskov updated JBIDE-9187:
---------------------------------
Release Notes Docs Status: Documented as Feature Request
Writer: irooskov
Release Notes Text: New OpenOn functionality has been added for the s:Inject
Seam tag. When this tag is used, a user can now Ctrl+Click on the tag to see a list of
beans that can be injected.
Seam Config XML: OpenOn for <s:Inject/>
---------------------------------------
Key: JBIDE-9187
URL:
https://issues.jboss.org/browse/JBIDE-9187
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: CDI
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Labels: new_and_noteworthy
Fix For: 3.3.0.M3
EXECUTE: Create CDI project with Seam Config support
EXECUTE: Create org.example.Report class:
{code}
package org.example.reports;
import javax.enterprise.inject.Produces;
public class Report {
public String filename;
public String datasource;
@Produces
public String foo() {
return "1";
}
@Produces
public String foo1() {
return "2";
}
}
{code}
EXECUTE: Add the following code to seam-beans.xml:
{code}
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:s="urn:java:ee"
xmlns:r="urn:java:org.example.reports">
<r:Report>
<r:datasource>
<s:Inject/>
</r:datasource>
</r:Report>
</beans>
{code}
EXECUTE: Ctrl+Click on <s:Inject/>
ASSERT: The list of all the eligible beans appears.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira