[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-967) Injection of ORB doesn't work (EJB3 16.13)

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Fri Sep 14 03:29:27 EDT 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-967?page=all ]

Carlo de Wolf updated EJBTHREE-967:
-----------------------------------

    Fix Version/s:     (was: Branch_4_2)

> Injection of ORB doesn't work (EJB3 16.13)
> ------------------------------------------
>
>                 Key: EJBTHREE-967
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-967
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: AS 4.2.0 GA
>            Reporter: Carlo de Wolf
>         Assigned To: Carlo de Wolf
>             Fix For: AS 5.0.0.Beta3
>
>
> The following code doesn't work, because the orb variable will not get injected.
> @Resource ORB orb;
> public void method(...) {
>      ...
>      // Get the POA to use when creating object references.
>      POA rootPOA = (POA)orb.resolve_initial_references("RootPOA");
>      ...
> }

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

        



More information about the jboss-jira mailing list