[jbosstools-issues] [JBoss JIRA] (JBIDE-9904) CDIProject.findObservedEvents(IParameter) should return Injection Points for dependent projects

Alexey Kazakov (Updated) (JIRA) jira-events at lists.jboss.org
Wed Oct 19 03:53:45 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-9904:
----------------------------------

    Fix Version/s: 3.3.0.Beta1
                       (was: 3.3.0.M4)


Daniel, please verify and if it's ok then please resolve the issue with fix version 3.3.0.M4
If something is wrong and we should continue work on in then leave it for Beta1.
                
> CDIProject.findObservedEvents(IParameter) should return Injection Points for dependent projects
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9904
>                 URL: https://issues.jboss.org/browse/JBIDE-9904
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: CDI
>            Reporter: Daniel Azarov
>            Assignee: Daniel Azarov
>             Fix For: 3.3.0.Beta1
>
>
> EXECUTE: Create two CDI projects: ProjectA and ProjectB. ProjectB depends on ProjectA.
> EXECUTE: Create interface in ProjectA:
> {code}
> public interface BaseDecoratedInterface {
> }
> {code}
> EXECUTE: Create a bean in ProjectA:
> {code}
> import javax.enterprise.event.Observes;
> public class CDIBeanTest {
> 	public void method(@Observes BaseDecoratedInterface event) {
> 		
> 	}
> }
> {code}
> EXECUTE: Create another bean in ProjectB:
> {code}
> import javax.enterprise.event.Event;
> import javax.inject.Inject;
> public class TestBean implements BaseDecoratedInterface{
> 	@Inject
> 	Event<TestBean> event;
> }
> {code}
> EXECUTE: Open CDIBeanTest in Java Editor, point mouse to 'method' method and press Ctrl
> ASSERT: There should be "Open CDI Event TestBean.event" menu item in OpenOn window

--
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

        


More information about the jbosstools-issues mailing list