Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-967

Injection of ORB doesn't work (EJB3 16.13)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • AS 5.0.0.Beta3
    • AS 4.2.0 GA
    • None
    • None

      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");
      ...
      }

            rhn-engineering-cdewolf Carlo de Wolf
            rhn-engineering-cdewolf Carlo de Wolf
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: