[cdi-dev] [JBoss JIRA] (CDI-324) Update InjectionPoint getBean() and isTransient() methods description to reflect Event instance

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Mar 4 10:58:56 EST 2013


    [ https://issues.jboss.org/browse/CDI-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758199#comment-12758199 ] 

Pete Muir commented on CDI-324:
-------------------------------

* getBean()

{quote}
The getBean() method returns the Bean object representing the bean that defines the injection point. If the injection point does not belong to a bean, getBean() returns a null value. If the injection point represents a dynamically obtained instance *or event*, the getBean() method should return the Bean object representing the bean that defines the Instance injection point.
{quote}

(see my emphasis)

* isTransient()

{quote}
The isTransient() method returns true if the injection point is a transient field, and false otherwise. If the injection point represents a dynamically obtained instance *or event* then the isTransient() method returns true if the Instance injection point is a transient field, and false otherwise.
{quote}
                
> Update InjectionPoint getBean() and isTransient() methods description to reflect Event instance
> -----------------------------------------------------------------------------------------------
>
>                 Key: CDI-324
>                 URL: https://issues.jboss.org/browse/CDI-324
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>    Affects Versions: 1.1.PFD
>            Reporter: Martin Kouba
>            Assignee: Pete Muir
>            Priority: Minor
>             Fix For: 1.1.FD
>
>
> Also update {{javax.enterprise.inject.spi.InjectionPoint}} javadoc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list