You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2006/11/22 22:54:02 UTC

[jira] Created: (OPENEJB-355) Example: @Resource for Field Injection

Example: @Resource for Field Injection
--------------------------------------

                 Key: OPENEJB-355
                 URL: http://issues.apache.org/jira/browse/OPENEJB-355
             Project: OpenEJB
          Issue Type: Sub-task
            Reporter: David Blevins




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (OPENEJB-355) Example: @Resource for Field Injection

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

David Blevins reassigned OPENEJB-355:
-------------------------------------

    Assignee: Raj Saini  (was: Jacek Laskowski)

> Example: @Resource for Field Injection
> --------------------------------------
>
>                 Key: OPENEJB-355
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-355
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: documentation, ejb3 simplified
>    Affects Versions: 3.0
>            Reporter: David Blevins
>         Assigned To: Raj Saini
>             Fix For: 3.0
>
>         Attachments: OPENEJB-355.txt
>
>
> Shows how to use the @Resource annotation on a bean's fields for injection of JNDI entries.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (OPENEJB-355) Example: @Resource for Field Injection

Posted by "David Blevins (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OPENEJB-355?page=all ]

David Blevins updated OPENEJB-355:
----------------------------------

    Description: 
Shows how to use the @Resource annotation on a bean's fields for injection of JNDI entries.


> Example: @Resource for Field Injection
> --------------------------------------
>
>                 Key: OPENEJB-355
>                 URL: http://issues.apache.org/jira/browse/OPENEJB-355
>             Project: OpenEJB
>          Issue Type: Sub-task
>            Reporter: David Blevins
>
> Shows how to use the @Resource annotation on a bean's fields for injection of JNDI entries.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (OPENEJB-355) Example: @Resource for Field Injection

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

David Blevins closed OPENEJB-355.
---------------------------------


> Example: @Resource for Field Injection
> --------------------------------------
>
>                 Key: OPENEJB-355
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-355
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: documentation, ejb3 simplified
>    Affects Versions: 3.0
>            Reporter: David Blevins
>         Assigned To: Jacek Laskowski
>             Fix For: 3.0
>
>         Attachments: OPENEJB-355.txt
>
>
> Shows how to use the @Resource annotation on a bean's fields for injection of JNDI entries.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (OPENEJB-355) Example: @Resource for Field Injection

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

David Blevins reopened OPENEJB-355:
-----------------------------------


> Example: @Resource for Field Injection
> --------------------------------------
>
>                 Key: OPENEJB-355
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-355
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: documentation, ejb3 simplified
>    Affects Versions: 3.0
>            Reporter: David Blevins
>         Assigned To: Raj Saini
>             Fix For: 3.0
>
>         Attachments: OPENEJB-355.txt
>
>
> Shows how to use the @Resource annotation on a bean's fields for injection of JNDI entries.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENEJB-355) Example: @Resource for Field Injection

Posted by "Raj Saini (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463836 ] 

Raj Saini commented on OPENEJB-355:
-----------------------------------

Attached patch is an example to demostrate @Resource annotation for simple environment entries.

> Example: @Resource for Field Injection
> --------------------------------------
>
>                 Key: OPENEJB-355
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-355
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: documentation, ejb3 simplified
>    Affects Versions: 3.0
>            Reporter: David Blevins
>             Fix For: 3.0
>
>         Attachments: OPENEJB-355.txt
>
>
> Shows how to use the @Resource annotation on a bean's fields for injection of JNDI entries.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (OPENEJB-355) Example: @Resource for Field Injection

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

Raj Saini updated OPENEJB-355:
------------------------------

    Attachment: OPENEJB-355.txt

> Example: @Resource for Field Injection
> --------------------------------------
>
>                 Key: OPENEJB-355
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-355
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: documentation, ejb3 simplified
>    Affects Versions: 3.0
>            Reporter: David Blevins
>             Fix For: 3.0
>
>         Attachments: OPENEJB-355.txt
>
>
> Shows how to use the @Resource annotation on a bean's fields for injection of JNDI entries.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (OPENEJB-355) Example: @Resource for Field Injection

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

Jacek Laskowski resolved OPENEJB-355.
-------------------------------------

    Resolution: Fixed
      Assignee: Jacek Laskowski

Committed revision 495181.

It's a very comprehensible example of @Resource annotation. I like its simplicity. Keep'em coming! Thanks Raj Saini!

> Example: @Resource for Field Injection
> --------------------------------------
>
>                 Key: OPENEJB-355
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-355
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: documentation, ejb3 simplified
>    Affects Versions: 3.0
>            Reporter: David Blevins
>         Assigned To: Jacek Laskowski
>             Fix For: 3.0
>
>         Attachments: OPENEJB-355.txt
>
>
> Shows how to use the @Resource annotation on a bean's fields for injection of JNDI entries.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira