[cdi-dev] [JBoss JIRA] (CDI-280) clarify usage of 'bean' term usage in the spec

Antoine Sabot-Durand (JIRA) issues at jboss.org
Sat Mar 8 12:37:33 EST 2014


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

Antoine Sabot-Durand commented on CDI-280:
------------------------------------------

As mentioned in one of my previous comment the term "Bean Metadata" is already widely used in the spec in 5.5.8 for this concept. Other places in chapter 11 talk about "the Bean Interface". I don't understand your point :  are suggesting replacing the term "Bean Metadata" for "Bean" ?
On the orher hand the term "Bean" is already used in a lot of place (like 2.2) and nowhere it point to Bean<T>.

So again as I stated twice in this ticket, if we agree on the terms "Bean Class" and "Bean Metadata" (which are in use in the spec) and want to be consistent "Bean Instance" and "Bean Reference" makes sense. I agree that we should avoid using the lonely term "Bean" in the spec but should keep it's usage for the day-to-day work of our users to abbreviate "Bean Instance" or "Bean reference".
                
> clarify usage of 'bean' term usage in the spec
> ----------------------------------------------
>
>                 Key: CDI-280
>                 URL: https://issues.jboss.org/browse/CDI-280
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>            Reporter: Mark Struberg
>            Assignee: Antoine Sabot-Durand
>              Labels: CDI_api_chge, CDI_spec_chge, Ready_to_fix
>             Fix For: 1.2 Proposed
>
>
> We should go to the spec and look up all 'bean' words as they are 5 different meaning the word 'bean' is used for
> * The Bean<T> extends Contextual<T>. Should be referred as 'Bean' or 'CDI Bean'
> * The class which gets scanned. Should be referred as 'Bean Class' to
> * The instance stored in the context. Should be referred to as 'Contextual Instance'
> * The proxy for a Contextual Instance should be referred to as 'Contextual Reference'
> * The type of an injection point should be referred to as 'InjectionPoint Type'

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