Request for an API to statically lookup an Object from the InitialContext class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs
    • b45
    • generic
    • generic

      Here is a feedback I received from the EJB engineering team:

      -------------------------------------------------------------

      The following pattern is heavily used in all J2EE applications

      Context ic = new InitialContext();
      obj = ic.lookup(name);

      It would be nice to have shorthand static lookup method something like below:
          obj = InitialContext.getObject(name);

      ------------------------------------------------------------------------------

            Assignee:
            Jayalaxmi Hangal (Inactive)
            Reporter:
            Jayalaxmi Hangal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: