[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
Tue Jul 3 12:04:57 EDT 2007
[ http://jira.jboss.com/jira/browse/EJBTHREE-967?page=all ]
Carlo de Wolf updated EJBTHREE-967:
-----------------------------------
Affects Version/s: AS 4.2.0 GA
Description:
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");
...
}
> 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: EJB 3.0 RC11 - FD, Branch_4_2
>
>
> 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