You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2011/06/24 10:04:47 UTC

[jira] [Created] (OPENEJB-1615) Support use the @Resource

Support use the @Resource
-------------------------

                 Key: OPENEJB-1615
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1615
             Project: OpenEJB
          Issue Type: Bug
            Reporter: Ivan




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENEJB-1615) Support use the @Resource(name="java:global/env/abc") for environment entry injection

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054309#comment-13054309 ] 

Ivan commented on OPENEJB-1615:
-------------------------------

Please refer to https://issues.apache.org/jira/browse/GERONIMO-6022 for more detailed descriptions.

> Support use the @Resource(name="java:global/env/abc") for environment entry injection
> -------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1615
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1615
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 4.0
>            Reporter: Ivan
>            Assignee: Ivan
>             Fix For: 4.0
>
>         Attachments: OPENEJB-1615.diff
>
>
> Support use the @Resource(name="java:global/env/abc") for environment entry injection, although that it is better to use lookup attribute not the name, but it is better that we could support it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OPENEJB-1615) Support use the @Resource(name="java:global/env/abc") for environment entry injection

Posted by "Ivan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan updated OPENEJB-1615:
--------------------------

          Component/s: container system
          Description: Support use the @Resource(name="java:global/env/abc") for environment entry injection, although that it is better to use lookup attribute not the name, but it is better that we could support it.
    Affects Version/s: 4.0
        Fix Version/s: 4.0
             Assignee: Ivan
              Summary: Support use the @Resource(name="java:global/env/abc") for environment entry injection  (was: Support use the @Resource)

> Support use the @Resource(name="java:global/env/abc") for environment entry injection
> -------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1615
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1615
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 4.0
>            Reporter: Ivan
>            Assignee: Ivan
>             Fix For: 4.0
>
>
> Support use the @Resource(name="java:global/env/abc") for environment entry injection, although that it is better to use lookup attribute not the name, but it is better that we could support it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENEJB-1615) Support use the @Resource(name="java:global/env/abc") for environment entry injection

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055283#comment-13055283 ] 

Ivan commented on OPENEJB-1615:
-------------------------------

Commit first step changes to trunk at r1139994

> Support use the @Resource(name="java:global/env/abc") for environment entry injection
> -------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1615
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1615
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 4.0
>            Reporter: Ivan
>            Assignee: Ivan
>             Fix For: 4.0
>
>         Attachments: OPENEJB-1615.diff
>
>
> Support use the @Resource(name="java:global/env/abc") for environment entry injection, although that it is better to use lookup attribute not the name, but it is better that we could support it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OPENEJB-1615) Support use the @Resource(name="java:global/env/abc") for environment entry injection

Posted by "Ivan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan resolved OPENEJB-1615.
---------------------------

    Resolution: Fixed

> Support use the @Resource(name="java:global/env/abc") for environment entry injection
> -------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1615
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1615
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 4.0
>            Reporter: Ivan
>            Assignee: Ivan
>             Fix For: 4.0
>
>         Attachments: OPENEJB-1615.diff
>
>
> Support use the @Resource(name="java:global/env/abc") for environment entry injection, although that it is better to use lookup attribute not the name, but it is better that we could support it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENEJB-1615) Support use the @Resource(name="java:global/env/abc") for environment entry injection

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056257#comment-13056257 ] 

Ivan commented on OPENEJB-1615:
-------------------------------

Commit changes to trunk at r1140403.

> Support use the @Resource(name="java:global/env/abc") for environment entry injection
> -------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1615
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1615
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 4.0
>            Reporter: Ivan
>            Assignee: Ivan
>             Fix For: 4.0
>
>         Attachments: OPENEJB-1615.diff
>
>
> Support use the @Resource(name="java:global/env/abc") for environment entry injection, although that it is better to use lookup attribute not the name, but it is better that we could support it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENEJB-1615) Support use the @Resource(name="java:global/env/abc") for environment entry injection

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054300#comment-13054300 ] 

Ivan commented on OPENEJB-1615:
-------------------------------

In the attached patch, it will check whether it is of those sharable JNDI name space when both value and lookup are not configured. If does, the ref name is updated to use the default binding name, and the lookup name will be the initial ref name. Another side effect is that an extra jndi entry is the comp namespace is created, while I think that it should not an issue.

> Support use the @Resource(name="java:global/env/abc") for environment entry injection
> -------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1615
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1615
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 4.0
>            Reporter: Ivan
>            Assignee: Ivan
>             Fix For: 4.0
>
>         Attachments: OPENEJB-1615.diff
>
>
> Support use the @Resource(name="java:global/env/abc") for environment entry injection, although that it is better to use lookup attribute not the name, but it is better that we could support it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OPENEJB-1615) Support use the @Resource(name="java:global/env/abc") for environment entry injection

Posted by "Ivan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan updated OPENEJB-1615:
--------------------------

    Attachment: OPENEJB-1615.diff

> Support use the @Resource(name="java:global/env/abc") for environment entry injection
> -------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1615
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1615
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 4.0
>            Reporter: Ivan
>            Assignee: Ivan
>             Fix For: 4.0
>
>         Attachments: OPENEJB-1615.diff
>
>
> Support use the @Resource(name="java:global/env/abc") for environment entry injection, although that it is better to use lookup attribute not the name, but it is better that we could support it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira