[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-9187) Seam Config XML: OpenOn for <s:Inject/>
Jaroslav Jankovič (JIRA)
jira-events at lists.jboss.org
Wed Sep 7 10:42:27 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaroslav Jankovič closed JBIDE-9187.
------------------------------------
verified in JBoss Developer Studio 5.0.0.v201109021637R-H24-M3
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list