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: